summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnome-utils/Makefile3
-rw-r--r--deskutils/gnomeutils2/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/Makefile b/deskutils/gnome-utils/Makefile
index adba043..b2ea195 100644
--- a/deskutils/gnome-utils/Makefile
+++ b/deskutils/gnome-utils/Makefile
@@ -39,5 +39,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 log_repaint.c logrtns.h
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/logview/${file}
+.endfor
.include <bsd.port.mk>
diff --git a/deskutils/gnomeutils2/Makefile b/deskutils/gnomeutils2/Makefile
index adba043..b2ea195 100644
--- a/deskutils/gnomeutils2/Makefile
+++ b/deskutils/gnomeutils2/Makefile
@@ -39,5 +39,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 log_repaint.c logrtns.h
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/logview/${file}
+.endfor
.include <bsd.port.mk>
OpenPOWER on IntegriCloud