aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-threads-shared/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-threads-shared/Makefile')
-rw-r--r--devel/p5-threads-shared/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/devel/p5-threads-shared/Makefile b/devel/p5-threads-shared/Makefile
index 8bd06f53e167..ad5f0b242e56 100644
--- a/devel/p5-threads-shared/Makefile
+++ b/devel/p5-threads-shared/Makefile
@@ -2,20 +2,24 @@
# $FreeBSD$
PORTNAME= threads-shared
-PORTVERSION= 1.40
+PORTVERSION= 1.42
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JDHEDDEN
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= linpc@cs.nctu.edu.tw
COMMENT= Perl extension for sharing data structures between threads
-BUILD_DEPENDS= p5-threads>=1.73:${PORTSDIR}/devel/p5-threads
-RUN_DEPENDS= p5-threads>=1.73:${PORTSDIR}/devel/p5-threads
-
PERL_CONFIGURE= yes
-MAN3= threads::shared.3
+MAN3= threads::shared.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501100
+BUILD_DEPENDS+= p5-threads>=1.73:${PORTSDIR}/devel/p5-threads
+RUN_DEPENDS+= p5-threads>=1.73:${PORTSDIR}/devel/p5-threads
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>