aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libe-book/Makefile
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-01-04 01:06:49 +0800
committerjbeich <jbeich@FreeBSD.org>2017-01-04 01:06:49 +0800
commit35c2e924fb42c40faceb06c6ff4d7a400a8ddea2 (patch)
tree0c4d0c1f381f4e3e76b7e77408205f35afe358fa /textproc/libe-book/Makefile
parentd25310f9b4145788c026d4bcec327bf8f633e309 (diff)
downloadfreebsd-ports-gnome-35c2e924fb42c40faceb06c6ff4d7a400a8ddea2.tar.gz
freebsd-ports-gnome-35c2e924fb42c40faceb06c6ff4d7a400a8ddea2.tar.zst
freebsd-ports-gnome-35c2e924fb42c40faceb06c6ff4d7a400a8ddea2.zip
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.
Diffstat (limited to 'textproc/libe-book/Makefile')
-rw-r--r--textproc/libe-book/Makefile3
1 files changed, 1 insertions, 2 deletions
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