summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/perl5.10/Makefile4
-rw-r--r--lang/perl5.12/Makefile4
-rw-r--r--lang/perl5.14/Makefile4
-rw-r--r--lang/perl5.16/Makefile4
-rw-r--r--lang/perl5.8/Makefile4
5 files changed, 20 insertions, 0 deletions
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>