Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 20:46:38 +0200
From:      olli hauer <ohauer@gmx.de>
To:        perl <perl@freebsd.org>
Subject:   perl5.16 possible typo and LATEST_LINK
Message-ID:  <5268198E.5030900@gmx.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010500000205020506090209
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

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

--------------010500000205020506090209
Content-Type: text/plain; charset=windows-1252;
 name="perl5.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="perl5.diff"

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' \

--------------010500000205020506090209--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5268198E.5030900>