diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-07-03 05:06:26 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-07-03 05:06:26 +0800 |
commit | 53add81e3a37b36a05a7bce7a32cea53ea27a107 (patch) | |
tree | 9622e5050419f56ccdaaee02f268fb72899e7fca /games | |
parent | dfe1941d7ca23e6c1e0e55b296c138d0545e8d25 (diff) | |
download | marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.tar marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.tar.gz marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.tar.bz2 marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.tar.lz marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.tar.xz marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.tar.zst marcuscom-ports-53add81e3a37b36a05a7bce7a32cea53ea27a107.zip |
Re-add the malloc.h substitution.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@956 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games')
-rw-r--r-- | games/gnome-games/Makefile | 4 | ||||
-rw-r--r-- | games/gnomegames2/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile index 49fe94c8f..60f2d2a99 100644 --- a/games/gnome-games/Makefile +++ b/games/gnome-games/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> 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> |