aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.6/Makefile
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@FreeBSD.org>2002-12-04 16:50:04 +0000
committerBruce A. Mah <bmah@FreeBSD.org>2002-12-04 16:50:04 +0000
commit80afc7818f699f0c2bd3c1164f9c8d88ea85ef19 (patch)
tree61334614ae3ac483566764e7a348012fe4e2e41a /lang/perl5.6/Makefile
parentcd6f6ad6c84c37ad170068ac6fb47a43c218bd9d (diff)
Notes
Diffstat (limited to 'lang/perl5.6/Makefile')
-rw-r--r--lang/perl5.6/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile
index 127b1d3f1dc2..16a684ea8990 100644
--- a/lang/perl5.6/Makefile
+++ b/lang/perl5.6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -56,6 +56,10 @@ INCLUDEDIR= /usr/include
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500043
+PKGMESSAGE= ${PKGDIR}/.not-here
+.endif
+
MAN1= a2p.1 c2ph.1 dprofpp.1 find2perl.1 h2ph.1 h2xs.1 perl.1 \
perl5004delta.1 perl5005delta.1 perlaix.1 perlamiga.1 \
perlapi.1 perlapio.1 perlbook.1 perlboot.1 perlbot.1 \
@@ -161,6 +165,10 @@ post-install:
${BSDPAN_WRKSRC}/${file} ${BSDPAN_DEST}/${file}
.endfor
@(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h)
+.if ${OSVERSION} < 500043
@fmt ${PKGMESSAGE}
+.else
+ @${PREFIX}/bin/use.perl port
+.endif
.include <bsd.port.post.mk>