aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-30 11:50:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-30 11:50:29 +0000
commitf003409da8065a33f30a7571e07e2e61d581ad1f (patch)
tree6e67e25091bab4c5907b7a611b525bc1d2e0ea2e /x11-toolkits
parent53bd48198940c3f530afd997f3ce5856561b49ef (diff)
downloadports-f003409da8065a33f30a7571e07e2e61d581ad1f.tar.gz
ports-f003409da8065a33f30a7571e07e2e61d581ad1f.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gigi/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/gigi/Makefile b/x11-toolkits/gigi/Makefile
index f63395d8b475..3caf36109d45 100644
--- a/x11-toolkits/gigi/Makefile
+++ b/x11-toolkits/gigi/Makefile
@@ -54,6 +54,12 @@ PLIST_SUB+= OGRE="@comment "
BROKEN= Does not compile
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' -e 's|int_p_NULL|NULL|g' \
+ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/src/GIL/extension/io/png_dynamic_io.hpp \
+ ${WRKSRC}/src/GIL/extension/io/png_io_private.hpp
+
post-build:
@${REINPLACE_CMD} -Ee 's,^(prefix|(lib|include)dir)=,&${PREFIX},' \
${WRKSRC}/*.pc