diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-01-04 01:06:49 +0800 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-01-04 01:06:49 +0800 |
commit | 32d56ae68ad7efb4b83498c52a7f820e54887b87 (patch) | |
tree | 0c4d0c1f381f4e3e76b7e77408205f35afe358fa /print | |
parent | 83e003bfd421cc4ecbb8824e54e6e3e53f32f8c4 (diff) | |
download | freebsd-ports-gnome-32d56ae68ad7efb4b83498c52a7f820e54887b87.tar.gz freebsd-ports-gnome-32d56ae68ad7efb4b83498c52a7f820e54887b87.tar.zst freebsd-ports-gnome-32d56ae68ad7efb4b83498c52a7f820e54887b87.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 'print')
-rw-r--r-- | print/cups-filters/Makefile | 3 | ||||
-rw-r--r-- | print/libmspub01/Makefile | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 78475aed2859..6511d65289f6 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -29,8 +29,7 @@ SHEBANG_FILES= filter/braille/drivers/generic/brftoembosser.in \ USE_GNOME= glib20 USE_RC_SUBR= cups_browsed GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-shell=/bin/sh \ - ZLIB_CFLAGS=" " ZLIB_LIBS="-lz" +CONFIGURE_ARGS= --with-shell=/bin/sh INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include diff --git a/print/libmspub01/Makefile b/print/libmspub01/Makefile index 64327df0d326..ef16dd4067b7 100644 --- a/print/libmspub01/Makefile +++ b/print/libmspub01/Makefile @@ -23,7 +23,6 @@ USES= compiler:c++0x libtool pathfix pkgconfig tar:xz INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-werror --without-docs -CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" CPPFLAGS+= -I${LOCALBASE}/include post-patch: |