summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/gnome-utils/Makefile3
-rw-r--r--deskutils/gnomeutils2/Makefile3
-rw-r--r--misc/gnomeutils/Makefile3
-rw-r--r--misc/gnomeutils2/Makefile3
4 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/Makefile b/deskutils/gnome-utils/Makefile
index adba0431f9da..b2ea1957de8e 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 adba0431f9da..b2ea1957de8e 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>
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>
diff --git a/misc/gnomeutils2/Makefile b/misc/gnomeutils2/Makefile
index adba0431f9da..b2ea1957de8e 100644
--- a/misc/gnomeutils2/Makefile
+++ b/misc/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>