On Thu, Nov 29, 2018 at 07:22:39AM -0700, lan...@openbsd.org wrote:
> http://build-failures.rhaalovely.net//sparc64/2018-11-21/textproc/mupdf.log

I've hit the same issue when build testing tex live on sparc64.

I wonder if it's intentional to build the bundled lcms2 rather than
using the ports tree version? CCing MAINTAINER.

FWIW, the build succeeds if we do use the ports tree version. I also
checked that it runs (over SSH X11 forwarding). Seems to be fine.


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/mupdf/Makefile,v
retrieving revision 1.81
diff -u -p -r1.81 Makefile
--- Makefile    5 Sep 2018 11:13:27 -0000       1.81
+++ Makefile    3 Dec 2018 15:18:39 -0000
@@ -5,7 +5,7 @@ SHARED_LIBS +=  mupdf           7.0
 COMMENT =      graphic library, pdf parser, viewer and utilities
 
 V =            1.13.0
-REVISION =     2
+REVISION =     3
 DISTNAME =     mupdf-$V-source
 PKGNAME =      mupdf-$V
 
@@ -38,7 +38,8 @@ LIB_DEPENDS = devel/harfbuzz \
                graphics/jbig2dec \
                graphics/jpeg \
                graphics/openjp2>=2.0.1 \
-               net/curl
+               net/curl \
+               graphics/lcms2
 
 USE_GMAKE =    Yes
 NO_TEST =      Yes
@@ -56,7 +57,7 @@ FAKE_FLAGS =  prefix=${PREFIX} mandir=${P
 
 pre-configure:
        cd ${WRKSRC}; sed -i 's,/usr/X11R6/include,${X11BASE}/include,g' 
Makerules Makethird
-       rm -rf 
${WRKSRC}/thirdparty/{curl,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib,freeglut}
 # use from ports
+       rm -rf 
${WRKSRC}/thirdparty/{curl,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib,freeglut,lcms2}
 # use from ports
 .if !${FLAVOR:Mjs}
        rm -rf ${WRKSRC}/thirdparty/mujs # not building with javascript support
 .else

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to