summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-11-01 14:43:46 +0000
committertobez <tobez@FreeBSD.org>2002-11-01 14:43:46 +0000
commit1d80d1711193673d9fc08798e252de22f3858527 (patch)
treee49c6e26217a738caca14151bdc4280ab235bd6d
parent64e017f526d47422926f64b1326c58e4a6d01d81 (diff)
downloadFreeBSD-ports-1d80d1711193673d9fc08798e252de22f3858527.zip
FreeBSD-ports-1d80d1711193673d9fc08798e252de22f3858527.tar.gz
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
-rw-r--r--lang/perl5.6/Makefile2
-rw-r--r--lang/perl5.6/files/patch-Install.pm2
-rw-r--r--lang/perl5.6/files/patch-af15
-rw-r--r--lang/perl5.6/files/patch-mg.c2
-rw-r--r--lang/perl5/Makefile2
-rw-r--r--lang/perl5/files/patch-Install.pm2
-rw-r--r--lang/perl5/files/patch-af15
-rw-r--r--lang/perl5/files/patch-mg.c2
8 files changed, 34 insertions, 8 deletions
diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile
index e7ec4e3..127b1d3 100644
--- a/lang/perl5.6/Makefile
+++ b/lang/perl5.6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
diff --git a/lang/perl5.6/files/patch-Install.pm b/lang/perl5.6/files/patch-Install.pm
index fbadbd1..bbd4201 100644
--- a/lang/perl5.6/files/patch-Install.pm
+++ b/lang/perl5.6/files/patch-Install.pm
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
@@ -132,7 +132,7 @@
diff --git a/lang/perl5.6/files/patch-af b/lang/perl5.6/files/patch-af
index 2c7b3f7..d856883 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
diff --git a/lang/perl5.6/files/patch-mg.c b/lang/perl5.6/files/patch-mg.c
index c9ef2a1..715fdc0 100644
--- a/lang/perl5.6/files/patch-mg.c
+++ b/lang/perl5.6/files/patch-mg.c
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- mg.c.orig Tue Oct 29 16:24:52 2002
+++ mg.c Tue Oct 29 16:32:26 2002
@@ -562,6 +562,8 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index e7ec4e3..127b1d3 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
diff --git a/lang/perl5/files/patch-Install.pm b/lang/perl5/files/patch-Install.pm
index fbadbd1..bbd4201 100644
--- a/lang/perl5/files/patch-Install.pm
+++ b/lang/perl5/files/patch-Install.pm
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
@@ -132,7 +132,7 @@
diff --git a/lang/perl5/files/patch-af b/lang/perl5/files/patch-af
index 2c7b3f7..d856883 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
diff --git a/lang/perl5/files/patch-mg.c b/lang/perl5/files/patch-mg.c
index c9ef2a1..715fdc0 100644
--- a/lang/perl5/files/patch-mg.c
+++ b/lang/perl5/files/patch-mg.c
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- mg.c.orig Tue Oct 29 16:24:52 2002
+++ mg.c Tue Oct 29 16:32:26 2002
@@ -562,6 +562,8 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
OpenPOWER on IntegriCloud