mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Assume "pkg-config zlib" works after 9.x reached EOL
This commit is contained in:
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
|
@ -12,12 +12,5 @@ LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck \
|
||||||
|
|
||||||
USE_GNOME= gconf2
|
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 "${.CURDIR}/../geany-plugins/files/Makefile.common"
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -34,18 +34,9 @@ PLIST_SUB= VERSION=2.91
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly
|
|
||||||
LIBS+= -lz
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
|
@${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
|
||||||
${WRKSRC}/src/Makefile.in
|
${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
|
# borrowed osversion from bsd.ssp.mk
|
||||||
.if ${OSVERSION} < 1000036 && ${ARCH} == i386
|
.if ${OSVERSION} < 1000036 && ${ARCH} == i386
|
||||||
@${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \
|
@${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue