graphics/mupdf: Fix headers conflict with openjpeg15
Reported by: Ajtim <starikarp@yandex.com> (on ports ML)
This commit is contained in:
parent
7998db5741
commit
a1fe8805db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474665
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue