Reduce dependency for ports/devel/p5-File-Modified

Jun Kuriyama kuriyama at imgsrc.co.jp
Thu Oct 14 08:50:30 PDT 2004


Hi,

How about this patch to reduce dependency with perl-5.8.5?


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-File-Modified/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	12 Aug 2004 12:47:58 -0000	1.2
+++ Makefile	14 Oct 2004 15:44:10 -0000
@@ -5,6 +5,7 @@
 
 PORTNAME=	File-Modified
 PORTVERSION=	0.06
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	File
@@ -13,8 +14,7 @@
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Perl module for checking intelligently if files have changed
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
-		${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -24,7 +24,8 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
+	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
 .endif
 
 post-patch:


-- 
Jun Kuriyama <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama at FreeBSD.org> // FreeBSD Project


More information about the freebsd-perl mailing list