From ccbaddd677ef113f1b5e3ff38acfd0d1ca97f75e Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 30 Mar 2010 12:49:14 +0000 Subject: - fix build for png-1.4.1 (build partly tested, as a dependency does not build on 7) --- math/py-matplotlib/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'math/py-matplotlib') 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} -- cgit v1.2.3