Assume "pkg-config zlib" works after 9.x reached EOL

This commit is contained in:
Jan Beich 2017-01-03 18:43:02 +00:00
parent 11bc146de9
commit b557ec87bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430508
2 changed files with 0 additions and 16 deletions

View file

@ -12,12 +12,5 @@ LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck \
USE_GNOME= gconf2
# Workaround for 9.x which doesn't have zlib.pc
LIBS= -lz
post-patch:
${REINPLACE_CMD} -e 's,zlib,,g' \
${WRKSRC}/configure
.include "${.CURDIR}/../geany-plugins/files/Makefile.common"
.include <bsd.port.mk>

View file

@ -34,18 +34,9 @@ PLIST_SUB= VERSION=2.91
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly
LIBS+= -lz
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
${WRKSRC}/src/Makefile.in
# zlib.pc only is available on 10.1-R and newer.
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly
@${REINPLACE_CMD} -e 's|gio-unix-2.0 zlib|gio-unix-2.0|g' \
${WRKSRC}/configure
.endif
# borrowed osversion from bsd.ssp.mk
.if ${OSVERSION} < 1000036 && ${ARCH} == i386
@${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \