aboutsummaryrefslogtreecommitdiff
path: root/games/scorched3d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/scorched3d/Makefile')
-rw-r--r--games/scorched3d/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile
index 67578cc6dd2b..429e6b6bda1b 100644
--- a/games/scorched3d/Makefile
+++ b/games/scorched3d/Makefile
@@ -53,6 +53,8 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" \
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e 's,png_infopp_NULL,NULL,g' \
+ ${WRKSRC}/src/common/image/ImagePng.cpp
pre-configure:
@cd ${WRKSRC}/scripts && ${PERL} createAMMakefile.pl