[Midnightbsd-cvs] mports: Makefile: ok p5-version appears to be included with perl 5.10.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 11 02:53:09 EDT 2008


Log Message:
-----------
ok p5-version appears to be included with perl 5.10.  Make that depends only show for 5.8

Modified Files:
--------------
    mports/dns/p5-Net-DNS-Resolver-Programmable:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/dns/p5-Net-DNS-Resolver-Programmable/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L dns/p5-Net-DNS-Resolver-Programmable/Makefile -L dns/p5-Net-DNS-Resolver-Programmable/Makefile -u -r1.4 -r1.5
--- dns/p5-Net-DNS-Resolver-Programmable/Makefile
+++ dns/p5-Net-DNS-Resolver-Programmable/Makefile
@@ -17,8 +17,7 @@
 COMMENT=	Programmable DNS resolver for off-line testing
 LICENSE=	gpl2
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
-		${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERL_MODBUILD=	yes
@@ -38,4 +37,9 @@
 .endfor
 .endif
 
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS+=    ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
+.endif
+
 .include <bsd.port.post.mk>


More information about the Midnightbsd-cvs mailing list