aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-pim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnome-pim/Makefile')
-rw-r--r--deskutils/gnome-pim/Makefile3
1 files changed, 3 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>