Date: Tue, 7 Aug 2007 18:54:19 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 124844 for review Message-ID: <200708071854.l77IsJiN007644@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124844 Change 124844 by gabor@gabor_server on 2007/08/07 18:53:54 - Be bit more precise about USE_PERL5 syntax Affected files ... .. //depot/projects/soc2007/gabor_perlmk/Mk/bsd.perl.mk#8 edit Differences ... ==== //depot/projects/soc2007/gabor_perlmk/Mk/bsd.perl.mk#8 (text+ko) ==== @@ -48,13 +48,23 @@ __prefix=${USE_PERL5:C/[^[:digit:].]+$//} __suffix=${USE_PERL5:C/^[0-9.]+//} -.if ${__suffix} == "+" && ${__prefix} < ${PERL_LEVEL} +.if ${__suffix} == "+" +.if ${__prefix} < ${PERL_LEVEL} IGNORE= You need Perl ${__prefix} or newer, please install latest lang/perl5.8 -.elif ${__suffix} == "" && ${__prefix} != ${PERL_LEVEL} +.endif +.elif ${__suffix} == "" +.if ${__prefix} != ${PERL_LEVEL} IGNORE= You need Perl ${__prefix} exectly -.elif ${__suffix} == "-" && ${__prefix} > ${PERL_LEVEL} +.endif +.elif ${__suffix} == "-" +.if ${__prefix} > ${PERL_LEVEL} IGNORE= You need Perl ${__prefix} or earlier .endif +.else +.BEGIN: + @${ECHO_MSG} "${PKGNAME}: Makefile error: inproper use of USE_PERL5" + @${FALSE} +.endif .endif #defined(USE_PERL5) && ${USE_PERL5} != "yes" SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VER}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708071854.l77IsJiN007644>