diff options
-rw-r--r-- | graphics/mupdf/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile index 2b7c6351796b..0aecb26d0ba7 100644 --- a/graphics/mupdf/Makefile +++ b/graphics/mupdf/Makefile @@ -23,16 +23,17 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libjbig2dec.so:graphics/jbig2dec \ libopenjp2.so:graphics/openjpeg -CFLAGS+= -I${WRKSRC}/include/mupdf -fPIC -LIBS+= -L${LOCALBASE}/lib +USES= cpe compiler:c++11-lang gmake jpeg pkgconfig MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes \ SOVERSION=${PORTVERSION} ALL_TARGET= all extra -USES= cpe compiler:c++11-lang gmake jpeg pkgconfig USE_XORG= x11 xcursor xext xinerama xrandr USE_GL= gl glut USE_LDCONFIG= yes +CFLAGS+= `pkg-config --cflags libopenjp2` -I${WRKSRC}/include/mupdf -fPIC # pkg-config to avoid the conflict with openjpeg15 +LIBS+= -L${LOCALBASE}/lib + CPE_VENDOR= artifex OPTIONS_DEFINE= DOCS JS SCROLL |