From 24dd9dbacc9500c24022e10fa1fcc9e6048e0971 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 4 Feb 2004 19:20:40 +0000 Subject: Run use.perl port by default from the port as well as the package. --- lang/perl5.10/Makefile | 4 ++++ lang/perl5.12/Makefile | 4 ++++ lang/perl5.14/Makefile | 4 ++++ lang/perl5.16/Makefile | 4 ++++ lang/perl5.8/Makefile | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile index 118df8030480..9d1439e45de9 100644 --- a/lang/perl5.10/Makefile +++ b/lang/perl5.10/Makefile @@ -237,6 +237,10 @@ post-install: .endfor @(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h) ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto +.if ${OSVERSION} < 502100 @fmt ${PKGMESSAGE} +.else + @${PREFIX}/bin/use.perl port +.endif .include diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile index 118df8030480..9d1439e45de9 100644 --- a/lang/perl5.12/Makefile +++ b/lang/perl5.12/Makefile @@ -237,6 +237,10 @@ post-install: .endfor @(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h) ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto +.if ${OSVERSION} < 502100 @fmt ${PKGMESSAGE} +.else + @${PREFIX}/bin/use.perl port +.endif .include diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile index 118df8030480..9d1439e45de9 100644 --- a/lang/perl5.14/Makefile +++ b/lang/perl5.14/Makefile @@ -237,6 +237,10 @@ post-install: .endfor @(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h) ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto +.if ${OSVERSION} < 502100 @fmt ${PKGMESSAGE} +.else + @${PREFIX}/bin/use.perl port +.endif .include diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index 118df8030480..9d1439e45de9 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -237,6 +237,10 @@ post-install: .endfor @(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h) ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto +.if ${OSVERSION} < 502100 @fmt ${PKGMESSAGE} +.else + @${PREFIX}/bin/use.perl port +.endif .include diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile index 118df8030480..9d1439e45de9 100644 --- a/lang/perl5.8/Makefile +++ b/lang/perl5.8/Makefile @@ -237,6 +237,10 @@ post-install: .endfor @(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h) ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto +.if ${OSVERSION} < 502100 @fmt ${PKGMESSAGE} +.else + @${PREFIX}/bin/use.perl port +.endif .include -- cgit v1.2.3