aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-06-19 00:08:08 +0800
committerleeym <leeym@FreeBSD.org>2008-06-19 00:08:08 +0800
commitd07a8d926ad5a15c7bf84ea48fb6bbc975d16f56 (patch)
tree4c235bf46471d0b4dcf56a32ae91b080f3ebf497 /devel
parent565b5dcc4d7187bec1110377809b0542fd26cead (diff)
downloadfreebsd-ports-gnome-d07a8d926ad5a15c7bf84ea48fb6bbc975d16f56.tar.gz
freebsd-ports-gnome-d07a8d926ad5a15c7bf84ea48fb6bbc975d16f56.tar.zst
freebsd-ports-gnome-d07a8d926ad5a15c7bf84ea48fb6bbc975d16f56.zip
- File::Spec is included since perl 5.8.6
- bump PORTREVISION PR: 122163 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Module-Pluggable/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/p5-Module-Pluggable/Makefile b/devel/p5-Module-Pluggable/Makefile
index 6b0ee761c435..0b45dadc5d78 100644
--- a/devel/p5-Module-Pluggable/Makefile
+++ b/devel/p5-Module-Pluggable/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Module-Pluggable
PORTVERSION= 3.8
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,13 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Automatically give your module the ability to have plugins
-RUN_DEPENDS= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Devel::InnerPackage.3 \
Module::Pluggable.3 \
Module::Pluggable::Object.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500806
+RUN_DEPENDS+= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>