diff options
Diffstat (limited to 'games/gnomegames2/Makefile')
-rw-r--r-- | games/gnomegames2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/gnomegames2/Makefile b/games/gnomegames2/Makefile index 49fe94c8f..60f2d2a99 100644 --- a/games/gnomegames2/Makefile +++ b/games/gnomegames2/Makefile @@ -28,4 +28,8 @@ INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +post-patch: + @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|malloc\.h|stdlib.h|g' + .include <bsd.port.mk> |