diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2002-11-01 14:43:46 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2002-11-01 14:43:46 +0000 |
commit | 5a1e2b69e5b6a77c07b3dd64ddcb378e9e19b07d (patch) | |
tree | 82a039d07449cddb6d95380621bb8273d1cde5d5 /lang/perl5/files/patch-af | |
parent | Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realize (diff) |
Make perl's configure be aware of gcc command line syntax change from
-Acpu(i386) to -Acpu=i386 and similar.
The patch is from Perlland:
http://archive.develooper.com/perl5-porters@perl.org/msg79350.html
While at it, add $ FreeBSD $ to the rest of the patches.
Reported by: kuriyama
Diffstat (limited to '')
-rw-r--r-- | lang/perl5/files/patch-af | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lang/perl5/files/patch-af b/lang/perl5/files/patch-af index 2c7b3f729d7c..d856883bf608 100644 --- a/lang/perl5/files/patch-af +++ b/lang/perl5/files/patch-af @@ -1,8 +1,8 @@ $FreeBSD$ ---- Configure.ORIG Mon Mar 19 05:03:33 2001 -+++ Configure Tue Apr 10 20:31:56 2001 -@@ -296,7 +296,7 @@ +--- Configure.orig Mon Mar 19 04:03:33 2001 ++++ Configure Fri Nov 1 14:58:06 2002 +@@ -296,7 +296,7 @@ cppflags='' ldflags='' lkflags='' locincpth='' @@ -11,3 +11,12 @@ $FreeBSD$ cf_email='' cf_by='' cf_time='' +@@ -14940,7 +14940,7 @@ for i in \`$cc -v -c tmp.c 2>&1 $postpro + do + case "\$i" in + -D*) echo "\$i" | $sed 's/^-D//';; +- -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A\(.*\)(\(.*\))/\1=\2/';; ++ -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A//' | $sed 's/\(.*\)(\(.*\))/\1=\2/';; + esac + done + $rm -f try.c |