svn commit: r493777 - head/graphics/mupdf
Alexandre C. Guimarães
rigoletto at FreeBSD.org
Sun Feb 24 17:48:16 UTC 2019
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 at utanet.at>
Reported by: Marco Beishuizen <mbeis at 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" \
More information about the svn-ports-all
mailing list