-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
22 lines
557 B
Text
22 lines
557 B
Text
$FreeBSD$
|
|
|
|
--- 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=''
|
|
-optimize=''
|
|
+optimize=${CFLAGS:-''}
|
|
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
|