diff options
author | tobez <tobez@FreeBSD.org> | 2002-11-01 22:43:46 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2002-11-01 22:43:46 +0800 |
commit | 1d80d1711193673d9fc08798e252de22f3858527 (patch) | |
tree | e49c6e26217a738caca14151bdc4280ab235bd6d /lang/perl5 | |
parent | 64e017f526d47422926f64b1326c58e4a6d01d81 (diff) | |
download | freebsd-ports-gnome-1d80d1711193673d9fc08798e252de22f3858527.tar.gz freebsd-ports-gnome-1d80d1711193673d9fc08798e252de22f3858527.tar.zst freebsd-ports-gnome-1d80d1711193673d9fc08798e252de22f3858527.zip |
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 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 2 | ||||
-rw-r--r-- | lang/perl5/files/patch-Install.pm | 2 | ||||
-rw-r--r-- | lang/perl5/files/patch-af | 15 | ||||
-rw-r--r-- | lang/perl5/files/patch-mg.c | 2 |
4 files changed, 17 insertions, 4 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index e7ec4e3e6fb4..127b1d3f1dc2 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 fbadbd183e20..bbd42019def6 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 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 diff --git a/lang/perl5/files/patch-mg.c b/lang/perl5/files/patch-mg.c index c9ef2a1322b0..715fdc06f893 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) |