aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.12
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-02-05 03:20:40 +0800
committermarcus <marcus@FreeBSD.org>2004-02-05 03:20:40 +0800
commit804a7057c024769ffb89a24dce3b0bfc3fd3b943 (patch)
tree2e2b8e1b4d7175d068c926c5af82ae5932e19fe3 /lang/perl5.12
parent78fe3a71109ea6dca46db6726f859fee1cc7a25b (diff)
downloadfreebsd-ports-gnome-804a7057c024769ffb89a24dce3b0bfc3fd3b943.tar.gz
freebsd-ports-gnome-804a7057c024769ffb89a24dce3b0bfc3fd3b943.tar.zst
freebsd-ports-gnome-804a7057c024769ffb89a24dce3b0bfc3fd3b943.zip
Run use.perl port by default from the port as well as the package.
Diffstat (limited to 'lang/perl5.12')
-rw-r--r--lang/perl5.12/Makefile4
1 files changed, 4 insertions, 0 deletions
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>