diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-01-04 01:06:49 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-01-04 01:06:49 +0800 |
commit | 35c2e924fb42c40faceb06c6ff4d7a400a8ddea2 (patch) | |
tree | 0c4d0c1f381f4e3e76b7e77408205f35afe358fa /www | |
parent | d25310f9b4145788c026d4bcec327bf8f633e309 (diff) | |
download | freebsd-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 'www')
-rw-r--r-- | www/aria2/Makefile | 2 | ||||
-rw-r--r-- | www/nghttp2/Makefile | 4 | ||||
-rw-r--r-- | www/spdylay/Makefile | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile index 2327b9a5d153..e3cac1cc5680 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -29,8 +29,6 @@ CONFIGURE_ARGS= --disable-epoll --enable-bittorrent --enable-libaria2 \ --without-libnettle --without-libuv CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ - ZLIB_CFLAGS=-I${INCLUDEDIR} \ - ZLIB_LIBS="-L${LIBDIR} -lz" \ ac_cv_path_RST2HTML=no GNU_CONFIGURE= yes INSTALL_TARGET= install-strip diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index aed6b8b0c000..aa74c9ea0614 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -24,9 +24,7 @@ SPDY_IMPLIES= APP CONFIGURE_ARGS= --disable-python-bindings CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ - OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ - ZLIB_CFLAGS="-I${INCLUDEDIR}" \ - ZLIB_LIBS="-L${LIBDIR} -lz" + OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_CXXSTD= c++11 diff --git a/www/spdylay/Makefile b/www/spdylay/Makefile index b590da21087c..26a4cbf83514 100644 --- a/www/spdylay/Makefile +++ b/www/spdylay/Makefile @@ -22,9 +22,7 @@ BROKEN_sparc64= does not build: fails to link CONFIGURE_ARGS= --enable-examples \ --enable-src CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ - OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ - ZLIB_CFLAGS="-I${INCLUDEDIR}" \ - ZLIB_LIBS="-L${LIBDIR} -lz" + OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_CXXSTD= c++11 |