diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2010-07-14 17:24:21 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2010-07-14 17:24:21 +0000 |
commit | 491a15ba6972d779d62337b9ea3b250324f5e85a (patch) | |
tree | e77896baf9c6ec518df75c295fd2269879cb1b4c /lang/perl5.14 | |
parent | Add libSM and libICE in the dependency as those will be linked when those (diff) |
- Fix generation of '+CONTENTS' file for 'bsdpan-*' packages [1]
- Don't remove '/usr/local/lib' from path $libpth
if this dir does not exist [2]
PR: ports/116908 [1]
Submitted by: Steve Wills <steve@mouf.net> [1],
Kukushkin Konstantin <dark@ramtel.ru> [2]
Notes
Notes:
svn path=/head/; revision=257756
Diffstat (limited to 'lang/perl5.14')
-rw-r--r-- | lang/perl5.14/Makefile | 5 | ||||
-rw-r--r-- | lang/perl5.14/distinfo | 6 | ||||
-rw-r--r-- | lang/perl5.14/files/patch-Configure | 11 |
3 files changed, 17 insertions, 5 deletions
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile index 1a13018a753c..0837347fd0a3 100644 --- a/lang/perl5.14/Makefile +++ b/lang/perl5.14/Makefile @@ -7,7 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 1 +PORTREVISON= 2 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN \ ${MASTER_SITE_LOCAL:S/$/:local/} \ @@ -160,7 +160,7 @@ BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \ ExtUtils/MM_Unix.pm \ ExtUtils/MakeMaker.pm \ ExtUtils/Packlist.pm -BSDPAN_VERSION= 5.12.0_20100422 +BSDPAN_VERSION= 5.12.1_20100713 BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${BSDPAN_VERSION} PKGINSTALL= ${WRKDIR}/pkg-install @@ -180,6 +180,7 @@ post-patch: ${CP} ${WRKDIR}/use.perl ${PKGINSTALL} ${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL} ${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|5.10|g;' \ + -e 's!%%BSDPAN_VERSION%%!${BSDPAN_VERSION}!g;' \ ${BSDPAN_WRKSRC}/ExtUtils/*.pm ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh diff --git a/lang/perl5.14/distinfo b/lang/perl5.14/distinfo index 2aad41e9f7a9..4c620220c222 100644 --- a/lang/perl5.14/distinfo +++ b/lang/perl5.14/distinfo @@ -1,6 +1,6 @@ MD5 (perl/perl-5.10.1.tar.bz2) = 82400c6d34f7b7b43d0196c76cd2bbb1 SHA256 (perl/perl-5.10.1.tar.bz2) = 9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 SIZE (perl/perl-5.10.1.tar.bz2) = 11608061 -MD5 (perl/BSDPAN-5.12.0_20100422.tar.bz2) = 16918568ae943b416b36196f47015a34 -SHA256 (perl/BSDPAN-5.12.0_20100422.tar.bz2) = 9bbcb4056c9c80c572acdff24319fa9a3b9a2c368ea59dfecb84e965d82f93d9 -SIZE (perl/BSDPAN-5.12.0_20100422.tar.bz2) = 8301 +MD5 (perl/BSDPAN-5.12.1_20100713.tar.bz2) = 2dcad380d91c60aaa4ac6db29d997712 +SHA256 (perl/BSDPAN-5.12.1_20100713.tar.bz2) = f700acc5ca29c6ef94460d23acffde77834e883cdb7cd043dbdb7c7d709a9392 +SIZE (perl/BSDPAN-5.12.1_20100713.tar.bz2) = 8430 diff --git a/lang/perl5.14/files/patch-Configure b/lang/perl5.14/files/patch-Configure new file mode 100644 index 000000000000..0abb559cbc33 --- /dev/null +++ b/lang/perl5.14/files/patch-Configure @@ -0,0 +1,11 @@ +--- Configure.orig 2010-07-14 15:28:45.000000000 +0000 ++++ Configure 2010-07-14 15:29:23.000000000 +0000 +@@ -4780,7 +4780,7 @@ + libpth='' + for xxx in $dlist + do +- if $test -d $xxx; then ++ if $test -d $xxx || [ $xxx = $prefix/lib ]; then + case " $libpth " in + *" $xxx "*) ;; + *) libpth="$libpth $xxx";; |