PERFORCE change 124775 for review
Gabor Kovesdan
gabor at FreeBSD.org
Mon Aug 6 07:35:08 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=124775
Change 124775 by gabor at gabor_server on 2007/08/06 14:34:14
- Check in work-in-progress version handling. Somehow it only works
for the exact version only.
Affected files ...
.. //depot/projects/soc2007/gabor_perlmk/Mk/bsd.perl.mk#6 edit
Differences ...
==== //depot/projects/soc2007/gabor_perlmk/Mk/bsd.perl.mk#6 (text+ko) ====
@@ -44,6 +44,19 @@
PERL_PORT?= perl5
.endif
+.if defined(USE_PERL5) && ${USE_PERL5} != "yes"
+__prefix=${USE_PERL5:C/[^[:digit:].]+$//}
+__suffix=${USE_PERL5:C/^[0-9.]+//}
+
+.if ${__suffix} == "+" && ${__prefix} < ${PERL_LEVEL}
+IGNORE= You need Perl ${__prefix} or newer, please install latest lang/perl5.8
+.elif ${__suffix} == "" && ${__prefix} != ${PERL_LEVEL}
+IGNORE= You need Perl ${__prefix} exectly
+.elif ${__suffix} == "-" && ${__prefix} > ${PERL_LEVEL}
+IGNORE= You need Perl ${__prefix} or earlier
+.endif
+.endif #defined(USE_PERL5) && ${USE_PERL5} != "yes"
+
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VER}
SITE_PERL?= ${LOCALBASE}/${SITE_PERL_REL}
More information about the p4-projects
mailing list