diff options
Diffstat (limited to 'math/py-matplotlib/Makefile')
-rw-r--r-- | math/py-matplotlib/Makefile | 4 |
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} |