[Midnightbsd-cvs] mports: Makefile: Perl 5.10 has some of the test stuff included.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 11 03:14:26 EDT 2008
Log Message:
-----------
Perl 5.10 has some of the test stuff included. Avoid dependancies that are part of perl now.
Modified Files:
--------------
mports/mail/p5-Mail-SPF:
Makefile (r1.2 -> r1.3)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/mail/p5-Mail-SPF/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L mail/p5-Mail-SPF/Makefile -L mail/p5-Mail-SPF/Makefile -u -r1.2 -r1.3
--- mail/p5-Mail-SPF/Makefile
+++ mail/p5-Mail-SPF/Makefile
@@ -19,11 +19,9 @@
RUN_DEPENDS= ${SITE_PERL}/Net/DNS/Resolver/Programmable.pm:${PORTSDIR}/dns/p5-Net-DNS-Resolver-Programmable \
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
- ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
${SITE_PERL}/${PERL_ARCH}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
- ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
@@ -53,4 +51,11 @@
.endfor
.endif
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list