aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-10-01 16:03:26 +0800
committerleeym <leeym@FreeBSD.org>2008-10-01 16:03:26 +0800
commit5f4bbe4c620d36767f2bd3061dd89281c1bfe3c9 (patch)
treeb0278d49df144e80373a13dd6eaeb3ed9ee698d8 /devel
parenta4f68624587f611cd78cc865413fe242384b0fc8 (diff)
downloadfreebsd-ports-gnome-5f4bbe4c620d36767f2bd3061dd89281c1bfe3c9.tar.gz
freebsd-ports-gnome-5f4bbe4c620d36767f2bd3061dd89281c1bfe3c9.tar.zst
freebsd-ports-gnome-5f4bbe4c620d36767f2bd3061dd89281c1bfe3c9.zip
- fix dependency
- bump PORTREVISION
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Carp-Assert-More/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/p5-Carp-Assert-More/Makefile b/devel/p5-Carp-Assert-More/Makefile
index 00bc6dcada11..a735fa149a05 100644
--- a/devel/p5-Carp-Assert-More/Makefile
+++ b/devel/p5-Carp-Assert-More/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Carp-Assert-More
PORTVERSION= 1.12
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,14 +15,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Convenience wrappers around Carp::Assert
-BUILD_DEPENDS= ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
- ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
+RUN_DEPENDS= p5-Carp-Assert>=0:${PORTSDIR}/devel/p5-Carp-Assert
MAN3= Carp::Assert::More.3
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>