aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Class-Autouse/Makefile10
-rw-r--r--devel/p5-Class-Autouse/distinfo4
2 files changed, 11 insertions, 3 deletions
diff --git a/devel/p5-Class-Autouse/Makefile b/devel/p5-Class-Autouse/Makefile
index f32bd48c2172..2ed7d0bbaa83 100644
--- a/devel/p5-Class-Autouse/Makefile
+++ b/devel/p5-Class-Autouse/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Class-Autouse
-PORTVERSION= 1.04
+PORTVERSION= 1.11
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
@@ -15,8 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Defer loading of one or more classes
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ ${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Class::Autouse.3
+post-patch:
+ @${RM} ${WRKSRC}/prefork.pm
+ @${PERL} -pi -e 's/^auto_install.*$$//' ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>
diff --git a/devel/p5-Class-Autouse/distinfo b/devel/p5-Class-Autouse/distinfo
index 353de4dc1701..20c9360be3b3 100644
--- a/devel/p5-Class-Autouse/distinfo
+++ b/devel/p5-Class-Autouse/distinfo
@@ -1,2 +1,2 @@
-MD5 (Class-Autouse-1.04.tar.gz) = 7ed8ab9529ac496576c65f3e8f315ebb
-SIZE (Class-Autouse-1.04.tar.gz) = 19341
+MD5 (Class-Autouse-1.11.tar.gz) = bb1bcf2d0b722899d14f594b43578028
+SIZE (Class-Autouse-1.11.tar.gz) = 27553