aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-09 16:49:55 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-09 16:49:55 +0800
commit0f129c401171bf0b80b8c19eaac63356d07e770f (patch)
tree76c74466476611875fdf40da48f35ca9ac40359d
parentc881947db5b06527c9041e24c041c5a3b3655c85 (diff)
downloadfreebsd-ports-gnome-0f129c401171bf0b80b8c19eaac63356d07e770f.tar.gz
freebsd-ports-gnome-0f129c401171bf0b80b8c19eaac63356d07e770f.tar.zst
freebsd-ports-gnome-0f129c401171bf0b80b8c19eaac63356d07e770f.zip
s/malloc.h/stdlib.h/
-rw-r--r--deskutils/gnome-pim/Makefile3
-rw-r--r--deskutils/gnomepim/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/deskutils/gnome-pim/Makefile b/deskutils/gnome-pim/Makefile
index 25c0182ba65e..5e087f421aee 100644
--- a/deskutils/gnome-pim/Makefile
+++ b/deskutils/gnome-pim/Makefile
@@ -28,5 +28,8 @@ pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+.for file in vcc.y vobject.c
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/libversit/${file}
+.endfor
.include <bsd.port.mk>
diff --git a/deskutils/gnomepim/Makefile b/deskutils/gnomepim/Makefile
index 25c0182ba65e..5e087f421aee 100644
--- a/deskutils/gnomepim/Makefile
+++ b/deskutils/gnomepim/Makefile
@@ -28,5 +28,8 @@ pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+.for file in vcc.y vobject.c
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/libversit/${file}
+.endfor
.include <bsd.port.mk>