aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 20:49:14 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 20:49:14 +0800
commit416d44a2defbbedb843608e555ff4c4b4a68a896 (patch)
tree7afdf6ceb2fc0650ffda7dbfd8eb7758019f018d /math
parent56a908ea1ee095f594a10a56b460c43b21d8a4d7 (diff)
downloadfreebsd-ports-gnome-416d44a2defbbedb843608e555ff4c4b4a68a896.tar.gz
freebsd-ports-gnome-416d44a2defbbedb843608e555ff4c4b4a68a896.tar.zst
freebsd-ports-gnome-416d44a2defbbedb843608e555ff4c4b4a68a896.zip
- fix build for png-1.4.1
(build partly tested, as a dependency does not build on 7)
Diffstat (limited to 'math')
-rw-r--r--math/py-matplotlib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index be99e41e8e46..0c4fc20539ab 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -48,6 +48,10 @@ CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}"
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+post-patch:
+ ${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|' \
+ ${WRKSRC}/src/_png.cpp
+
.if !defined(NOPORTEXAMPLES)
post-install:
@${MKDIR} ${EXAMPLESDIR}