summaryrefslogtreecommitdiff
path: root/math/py-matplotlib
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-matplotlib')
-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}