- fix build for png-1.4.1

This commit is contained in:
Dirk Meyer 2010-03-29 19:38:32 +00:00
parent 9233c398a4
commit 1bdd4db87a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251755
2 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/etc/ziproxy/ziproxy.conf
@${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/src/image.c
@${REINPLACE_CMD} -e 's|png_check_sig|png_sig_cmp|' \
${WRKSRC}/configure
post-install:
@${MKDIR} ${PREFIX}/etc/ziproxy

View File

@ -25,6 +25,10 @@ PLIST_FILES= bin/bbdock
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|png_check_sig|png_sig_cmp|' \
${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}