From 32d56ae68ad7efb4b83498c52a7f820e54887b87 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 3 Jan 2017 17:06:49 +0000 Subject: Assume "pkg-config zlib" works after 9.x reached EOL Many ports passed ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-L/usr/lib -lz" which is unsafe at least with lang/gcc* that override some system headers and have newer libgcc_s.so that our old version in base may not be forward-compatible with. --- textproc/libe-book/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'textproc/libe-book') diff --git a/textproc/libe-book/Makefile b/textproc/libe-book/Makefile index 2965ecb7030c..44aae393a1a7 100644 --- a/textproc/libe-book/Makefile +++ b/textproc/libe-book/Makefile @@ -2,7 +2,7 @@ PORTNAME= libe-book PORTVERSION= 0.1.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= textproc MASTER_SITES= SF/libebook/${PORTNAME}-${PORTVERSION}/ @@ -23,7 +23,6 @@ USES= compiler:c++11-lang gmake gperf libtool pathfix pkgconfig \ tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= ZLIB_CFLAGS="-DWEHAVEZLIBINBASE" ZLIB_LIBS="-DWEDOHAVEIT" INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-werror --disable-tests CPPFLAGS+= -I${LOCALBASE}/include -DBOOST_ERROR_CODE_HEADER_ONLY -- cgit v1.2.3