ports/157565: [ patch ] lang/perl5.14 BSDPAN declare dependency to perl5.10 instead of 5.14
Dan Lukes
dan at obluda.cz
Fri Jun 3 13:30:15 UTC 2011
>Number: 157565
>Category: ports
>Synopsis: [ patch ] lang/perl5.14 BSDPAN declare dependency to perl5.10 instead of 5.14
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 03 13:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Dan Lukes
>Release: FreeBSD 8.2-RELEASE
>Organization:
Obludarium
>Environment:
ports/lang/perl5.14/Makefile,v 1.133 2011/05/17 19:30:02 skv
post-patch:
${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|5.14|g;' \
-e 's!%%BSDPAN_VERSION%%!${BSDPAN_VERSION}!g;' \
${BSDPAN_WRKSRC}/ExtUtils/*.pm
>Description:
BSDPAN create +CONTENTS file with dependency to perl5.10:
@comment This package was generated by BSDPAN (5.12.1_20100713)
@pkgdep perl-5.14.0
@comment DEPORIGIN:lang/perl5.10
It is incorrect.
>How-To-Repeat:
Install perl5.14, then install something using BSDPAN
Inspect the +CONTENT file
>Fix:
--- Makefile.orig 2011-05-17 21:30:02.000000000 +0200
+++ Makefile 2011-06-03 15:08:43.000000000 +0200
@@ -183,7 +183,7 @@
> ${WRKDIR}/perl-after-upgrade
${CP} ${WRKDIR}/use.perl ${PKGINSTALL}
${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL}
- ${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|5.10|g;' \
+ ${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|5.14|g;' \
-e 's!%%BSDPAN_VERSION%%!${BSDPAN_VERSION}!g;' \
${BSDPAN_WRKSRC}/ExtUtils/*.pm
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list