aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.14
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-05-03 10:47:15 +0800
committerkan <kan@FreeBSD.org>2007-05-03 10:47:15 +0800
commit1c550035b21d535c8ee1a3b16c6fc3860108c431 (patch)
tree7536592b77c3a58b3fdd03a3f19ba409a1ce2a08 /lang/perl5.14
parent4be41206b33573031ee4ed355dfc7eccbe8373c4 (diff)
downloadfreebsd-ports-gnome-1c550035b21d535c8ee1a3b16c6fc3860108c431.tar.gz
freebsd-ports-gnome-1c550035b21d535c8ee1a3b16c6fc3860108c431.tar.zst
freebsd-ports-gnome-1c550035b21d535c8ee1a3b16c6fc3860108c431.zip
Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
Diffstat (limited to 'lang/perl5.14')
-rw-r--r--lang/perl5.14/files/patch-makedepend10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/perl5.14/files/patch-makedepend b/lang/perl5.14/files/patch-makedepend
new file mode 100644
index 000000000000..4a79cc4ecbd3
--- /dev/null
+++ b/lang/perl5.14/files/patch-makedepend
@@ -0,0 +1,10 @@
+--- makedepend.SH.orig Wed May 2 22:37:13 2007
++++ makedepend.SH Wed May 2 22:38:48 2007
+@@ -167,6 +167,7 @@
+ -e '/^#.*<builtin>/d' \
+ -e '/^#.*<built-in>/d' \
+ -e '/^#.*<command line>/d' \
++ -e '/^#.*<command-line>/d' \
+ -e '/^#.*"-"/d' \
+ -e '/: file path prefix .* never used$/d' \
+ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \