[Midnightbsd-cvs] mports: bsd.perl.mk: PERL_LEVEL less than 5.10 needs the mod build port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 11 02:35:46 EDT 2008
Log Message:
-----------
PERL_LEVEL less than 5.10 needs the mod build port but not this version. They added many modules with this version and it's a real bitch
Modified Files:
--------------
mports/Mk:
bsd.perl.mk (r1.14 -> r1.15)
-------------- next part --------------
Index: bsd.perl.mk
===================================================================
RCS file: /home/cvs/mports/Mk/bsd.perl.mk,v
retrieving revision 1.14
retrieving revision 1.15
diff -L Mk/bsd.perl.mk -L Mk/bsd.perl.mk -u -r1.14 -r1.15
--- Mk/bsd.perl.mk
+++ Mk/bsd.perl.mk
@@ -149,8 +149,10 @@
PL_BUILD?= Build
CONFIGURE_SCRIPT?= Build.PL
.if ${PORTNAME} != Module-Build
+.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
.endif
+.endif
CONFIGURE_ARGS+= \
create_packlist=0 \
install_path=lib="${TARGETDIR}/${SITE_PERL_REL}" \
More information about the Midnightbsd-cvs
mailing list