perl5.16 possible typo and LATEST_LINK

olli hauer ohauer at gmx.de
Wed Oct 23 18:46:48 UTC 2013


Shouldn't LATEST_LINK also switch with the perl default version?

Additional there is a possible typo in the perl5.16 Makefile around line 186 s/%/$/

-	${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|%{PERL_VER}|g;' \
+	${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|${PERL_VER}|g;' \


-- 
br,
olli
-------------- next part --------------
Index: perl5.12/Makefile
===================================================================
--- perl5.12/Makefile	(revision 331402)
+++ perl5.12/Makefile	(working copy)
@@ -218,7 +218,7 @@
 		${BSDPAN_WRKSRC}/${files} ${STAGEDIR}${BSDPAN_DEST}/${files}
 .endfor
 
-AZ: 
+AZ:
 test: build
 	@(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
 
Index: perl5.14/Makefile
===================================================================
--- perl5.14/Makefile	(revision 331402)
+++ perl5.14/Makefile	(working copy)
@@ -156,7 +156,7 @@
 LINK_USRBIN=	no
 .endif
 
-LATEST_LINK=	perl
+NO_LATEST_LINK=	yes
 
 BSDPAN_DEST=	${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN
 BSDPAN_FILES=	BSDPAN.pm BSDPAN/Override.pm Config.pm \
@@ -215,7 +215,7 @@
 		${BSDPAN_WRKSRC}/${files} ${STAGEDIR}${BSDPAN_DEST}/${files}
 .endfor
 
- AZ:
+AZ:
 test: build
 	@(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
 
Index: perl5.16/Makefile
===================================================================
--- perl5.16/Makefile	(revision 331402)
+++ perl5.16/Makefile	(working copy)
@@ -155,7 +155,7 @@
 LINK_USRBIN=	no
 .endif
 
-NO_LATEST_LINK=	yes
+LATEST_LINK=	perl
 
 BSDPAN_DEST=	${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN
 BSDPAN_FILES=	BSDPAN.pm BSDPAN/Override.pm Config.pm \
@@ -183,7 +183,7 @@
 		> ${WRKDIR}/perl-man.conf
 	${CP} ${WRKDIR}/use.perl ${PKGINSTALL}
 	${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL}
-	${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|%{PERL_VER}|g;' \
+	${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|${PERL_VER}|g;' \
 		-e 's!%%BSDPAN_VERSION%%!${BSDPAN_VERSION}!g;' \
 		${BSDPAN_WRKSRC}/ExtUtils/*.pm
 	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \


More information about the freebsd-perl mailing list