From 5a1e2b69e5b6a77c07b3dd64ddcb378e9e19b07d Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Fri, 1 Nov 2002 14:43:46 +0000 Subject: 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 --- lang/perl5.6/files/patch-af | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'lang/perl5.6/files/patch-af') diff --git a/lang/perl5.6/files/patch-af b/lang/perl5.6/files/patch-af index 2c7b3f729d7c..d856883bf608 100644 --- a/lang/perl5.6/files/patch-af +++ b/lang/perl5.6/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 -- cgit v1.2.3