aboutsummaryrefslogtreecommitdiff
path: root/audio/forked-daapd
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-01-03 17:06:49 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-01-03 17:06:49 +0000
commit32d56ae68ad7efb4b83498c52a7f820e54887b87 (patch)
tree0c4d0c1f381f4e3e76b7e77408205f35afe358fa /audio/forked-daapd
parent83e003bfd421cc4ecbb8824e54e6e3e53f32f8c4 (diff)
downloadports-32d56ae68ad7efb4b83498c52a7f820e54887b87.tar.gz
ports-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.
Notes
Notes: svn path=/head/; revision=430483
Diffstat (limited to 'audio/forked-daapd')
-rw-r--r--audio/forked-daapd/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/audio/forked-daapd/Makefile b/audio/forked-daapd/Makefile
index fd69d23be5f4..663fe45d3c8c 100644
--- a/audio/forked-daapd/Makefile
+++ b/audio/forked-daapd/Makefile
@@ -53,14 +53,7 @@ LASTFM_CONFIGURE_ENABLE=lastfm
LASTFM_LIB_DEPENDS= libcurl.so:ftp/curl
MPD_CONFIGURE_ENABLE= mpd
-.include <bsd.port.pre.mk>
-
-# Ensure FreeBSD 9 can find zlib library
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000712
-CONFIGURE_ENV+= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
-.endif
-
post-install:
@${MV} ${STAGEDIR}${PREFIX}/etc/forked-daapd.conf ${STAGEDIR}${PREFIX}/etc/forked-daapd.conf.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>