From 8ae891fb979948521c15954305eb110cd5719b8c Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 1 Mar 2004 08:54:11 +0000 Subject: Fix "pkg_add -r perl" for 5.2-CURRENT (and later). This will now install perl 5.8 for 5.2-CURRENT. Approved by: perl --- lang/perl5.10/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lang/perl5.10') diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile index 9a36b92d8cea..8f1fcaa30664 100644 --- a/lang/perl5.10/Makefile +++ b/lang/perl5.10/Makefile @@ -24,6 +24,10 @@ PERL_VER= 5.8.2 PERL_ARCH= mach PERL_VERSION= ${PERL_VER} +.if ${OSVERSION} < 502100 +LATEST_LINK= perl5.8 +.endif + HAS_CONFIGURE= yes CONFIGURE_SCRIPT=Configure CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ @@ -206,8 +210,6 @@ MAN3+= GDBM_File.3 .endif MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER} -LATEST_LINK= perl5.8 - test: @(cd ${WRKSRC}; make test) -- cgit v1.2.3