aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Socket
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-24 09:15:13 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-24 09:15:13 +0000
commit446c40143b0cc35469f26fdaeb0f26834b1daf0a (patch)
tree3edf1c5b5ceace15a35e53f5074c929cc8a96218 /net/p5-Socket
parent4a6bd89ef6ffd3fcfe3762b42518046a02a0c0ad (diff)
downloadports-446c40143b0cc35469f26fdaeb0f26834b1daf0a.tar.gz
ports-446c40143b0cc35469f26fdaeb0f26834b1daf0a.zip
Notes
Diffstat (limited to 'net/p5-Socket')
-rw-r--r--net/p5-Socket/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/p5-Socket/Makefile b/net/p5-Socket/Makefile
index 935aeda1c322..f755e910c640 100644
--- a/net/p5-Socket/Makefile
+++ b/net/p5-Socket/Makefile
@@ -15,8 +15,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Networking constants and support functions
-BUILD_DEPENDS= p5-ExtUtils-Constant>=0.23:${PORTSDIR}/devel/p5-ExtUtils-Constant
-
PERL_CONFIGURE= yes
MAN3= Socket.3
@@ -27,4 +25,8 @@ MAN3= Socket.3
BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
.endif
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+= p5-ExtUtils-Constant>=0.23:${PORTSDIR}/devel/p5-ExtUtils-Constant
+.endif
+
.include <bsd.port.post.mk>