Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2007 14:35:07 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 124775 for review
Message-ID:  <200708061435.l76EZ7SJ008755@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124775

Change 124775 by gabor@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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708061435.l76EZ7SJ008755>