diff options
author | skv <skv@FreeBSD.org> | 2010-09-16 23:57:09 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2010-09-16 23:57:09 +0800 |
commit | 7b16bba317b96a5132a0985a81c8e8212ae8b318 (patch) | |
tree | d9ac4f70e39230db7842117c41af294f6407c459 /lang/perl5.14 | |
parent | c9fac5eb80bb8cc1c11d15054e633bb00d5e4bc0 (diff) | |
download | freebsd-ports-gnome-7b16bba317b96a5132a0985a81c8e8212ae8b318.tar.gz freebsd-ports-gnome-7b16bba317b96a5132a0985a81c8e8212ae8b318.tar.zst freebsd-ports-gnome-7b16bba317b96a5132a0985a81c8e8212ae8b318.zip |
- Fix perl-after-upgrade [1]
- Preserve perms on modified /etc/make.conf, /etc/manpath.conf [2]
PR: 150622 [1], 150611 [2]
Submitted by: garga [1], swell.k@gmail.com [2]
Diffstat (limited to 'lang/perl5.14')
-rw-r--r-- | lang/perl5.14/Makefile | 2 | ||||
-rw-r--r-- | lang/perl5.14/files/perl-after-upgrade | 2 | ||||
-rw-r--r-- | lang/perl5.14/files/use.perl | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile index fdf3ae2ffabd..5ed31fd8e6d2 100644 --- a/lang/perl5.14/Makefile +++ b/lang/perl5.14/Makefile @@ -7,7 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN \ ${MASTER_SITE_LOCAL:S/$/:local/} \ diff --git a/lang/perl5.14/files/perl-after-upgrade b/lang/perl5.14/files/perl-after-upgrade index 2cd3c3fe8b21..bb9450fa602a 100644 --- a/lang/perl5.14/files/perl-after-upgrade +++ b/lang/perl5.14/files/perl-after-upgrade @@ -264,7 +264,7 @@ while (@ARGV) { our $PERL_VERSION = '%%PERL_VERSION%%'; our $PERL_PKGNAME = '%%PKGNAME%%'; -our $PERL_VERSION_REGEX = qr/5\.10\.\d+/; +our $PERL_VERSION_REGEX = qr/5\.12\.\d+/; print STDERR "- Fuzzy source re: <$PERL_VERSION_REGEX>\n" if $debug; our @errors; diff --git a/lang/perl5.14/files/use.perl b/lang/perl5.14/files/use.perl index e6314754e43f..3603d6ea50ae 100644 --- a/lang/perl5.14/files/use.perl +++ b/lang/perl5.14/files/use.perl @@ -95,6 +95,7 @@ do_cleanup_make_conf() { echo -n "Cleaning up ${MAKE_CONF}..." if [ -f ${MAKE_CONF} ] ; then + /bin/cp -p ${MAKE_CONF} ${MAKE_CONF}.new /usr/bin/awk 's=0; /^#.*use.perl/ { s=1; mode=1 } /^#/ { s=1; if (mode != 1) { mode=0 } } @@ -111,6 +112,7 @@ do_cleanup_manpath() { echo -n "Cleaning up /etc/manpath.config..." if [ -f /etc/manpath.config ] ; then + /bin/cp -p /etc/manpath.config /etc/manpath.config.new /usr/bin/awk 's=0; /^#.*use.perl/ { s=1; mode=1 } /^#/ { s=1; if (mode != 1) { mode=0 } } |