From 53add81e3a37b36a05a7bce7a32cea53ea27a107 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 2 Jul 2003 21:06:26 +0000 Subject: Re-add the malloc.h substitution. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@956 df743ca5-7f9a-e211-a948-0013205c9059 --- games/gnome-games/Makefile | 4 ++++ games/gnomegames2/Makefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'games') 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 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 -- cgit v1.2.3