archivers/libcabinet: link with libz

For about a week, a new error appeared on this port during linking:
undefined reference to deflateEnd@@ZLIB_1.2.8.  Portsmon so far has
indicated it is only happening on DragonFly so far.  Adding -lz
during the post-build linking for listcab fixes the issue.

Approved by:	Blanket
This commit is contained in:
John Marino 2015-04-30 21:34:51 +00:00
parent 2cc1d05da1
commit 786e6186a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385069

View file

@ -3,7 +3,7 @@
PORTNAME= libcabinet
PORTVERSION= 0.30
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://www.bsd-geek.de/FreeBSD/distfiles/
@ -18,7 +18,7 @@ PROGFILE= ${SRCFILE:S/.cpp$//}
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
post-build:
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet -lz
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/cabinet