aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/nucleo/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 17:45:04 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 17:45:04 +0000
commit87bac6b2331d7a82c99d2580f39a5fa2745c874e (patch)
treef15d3b463e26fdf8bdabbff65053e201196feae7 /x11-toolkits/nucleo/Makefile
parent02af94568b43ad5a6d6304506d5f788b72eb18d4 (diff)
downloadports-87bac6b2331d7a82c99d2580f39a5fa2745c874e.tar.gz
ports-87bac6b2331d7a82c99d2580f39a5fa2745c874e.zip
- fix build for png-1.4.1
Notes
Notes: svn path=/head/; revision=251745
Diffstat (limited to 'x11-toolkits/nucleo/Makefile')
-rw-r--r--x11-toolkits/nucleo/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/nucleo/Makefile b/x11-toolkits/nucleo/Makefile
index 8e3d68ebbc51..1dbde27ae6cb 100644
--- a/x11-toolkits/nucleo/Makefile
+++ b/x11-toolkits/nucleo/Makefile
@@ -53,4 +53,8 @@ LIB_DEPENDS+= dns_sd.1:${PORTSDIR}/net/avahi-libdns
LIB_DEPENDS+= dns_sd.1:${PORTSDIR}/net/mDNSResponder
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/nucleo/image/encoding/PNGenc.cxx
+
.include <bsd.port.post.mk>