aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-07-02 19:41:26 +0800
committerpawel <pawel@FreeBSD.org>2016-07-02 19:41:26 +0800
commit6f0679fa0ad5662eee6c6ec73aaa51692dcc6ad4 (patch)
tree3694ea901a20e5359469bfd27c8e591a23700c90 /graphics
parenta990218f9818f326d7e6169a2061fa9ef2a26131 (diff)
downloadfreebsd-ports-gnome-6f0679fa0ad5662eee6c6ec73aaa51692dcc6ad4.tar.gz
freebsd-ports-gnome-6f0679fa0ad5662eee6c6ec73aaa51692dcc6ad4.tar.zst
freebsd-ports-gnome-6f0679fa0ad5662eee6c6ec73aaa51692dcc6ad4.zip
Remove -I${LOCALBASE}/include from CFLAGS, it leads to
broken build when older version is already installed on the system. Newer mupdf tries to build against old headers and in meanwhile API has changed considerably. PR: 210741 Submitted by: Tobias Kortkamp Reported by: drhowarddrfine@charter.net
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mupdf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile
index 53590b09045a..c1fe99703f3f 100644
--- a/graphics/mupdf/Makefile
+++ b/graphics/mupdf/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libjbig2dec.so:graphics/jbig2dec \
libopenjp2.so:graphics/openjpeg
-CFLAGS+= -I${WRKSRC}/include/mupdf -I${LOCALBASE}/include
+CFLAGS+= -I${WRKSRC}/include/mupdf
LIBS+= -L${LOCALBASE}/lib
MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes
USES= cpe compiler:c++11-lang gmake jpeg pkgconfig