summaryrefslogtreecommitdiff
path: root/misc/gnomeutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gnomeutils/Makefile')
-rw-r--r--misc/gnomeutils/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/gnomeutils/Makefile b/misc/gnomeutils/Makefile
index adba0431f9da..b2ea1957de8e 100644
--- a/misc/gnomeutils/Makefile
+++ b/misc/gnomeutils/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>