Date: Sun, 24 Feb 2019 17:48:15 +0000 (UTC) From: =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= <rigoletto@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493777 - head/graphics/mupdf Message-ID: <201902241748.x1OHmFn9033041@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rigoletto Date: Sun Feb 24 17:48:15 2019 New Revision: 493777 URL: https://svnweb.freebsd.org/changeset/ports/493777 Log: graphics/mupdf: fix build when graphics/openjpeg15 is present. PR: 235996 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: Marco Beishuizen <mbeis@xs4all.nl> Approved by: tcberner (mentor) Modified: head/graphics/mupdf/Makefile Modified: head/graphics/mupdf/Makefile ============================================================================== --- head/graphics/mupdf/Makefile Sun Feb 24 17:40:26 2019 (r493776) +++ head/graphics/mupdf/Makefile Sun Feb 24 17:48:15 2019 (r493777) @@ -27,6 +27,9 @@ USE_GL= gl glut CPE_VENDOR= artifex USE_LDCONFIG= yes +# pkg-config to avoid the conflict with openjpeg15 +CFLAGS+= `pkg-config --cflags libopenjp2` + MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes \ XCFLAGS+="-I${WRKSRC}/include/mupdf -fPIC" \ XLIBS+="-L${LOCALBASE}/lib -L${WRKSRC}/build/release" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902241748.x1OHmFn9033041>