Date: Wed, 14 Apr 2004 21:41:58 -0700 (PDT) From: Ade Lovett <ade@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65554: Broken handling of non-system perl on -stable Message-ID: <200404150441.i3F4fwMR097792@freefall.freebsd.org> Resent-Message-ID: <200404150450.i3F4oIvD097994@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65554 >Category: ports >Synopsis: Broken handling of non-system perl on -stable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 14 21:50:18 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Ade Lovett >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: Any 4.x system, say, for the sake of argument, 4.10-BETA, and access to a 5.x system. >Description: Dependencies not registered on ports version of perl if installed and being used (via use.perl port) on any 4.x system. >How-To-Repeat: See above. >Fix: Index: bsd.port.mk =================================================================== RCS file: /home/FreeBSD/cvs/ports/Mk/bsd.port.mk,v retrieving revision 1.486 diff -u -1 -r1.486 bsd.port.mk --- bsd.port.mk 3 Apr 2004 23:59:50 -0000 1.486 +++ bsd.port.mk 15 Apr 2004 04:27:58 -0000 @@ -1218,3 +1218,3 @@ -.if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036 +.if ${PERL_LEVEL} < 500600 PERL5= /usr/bin/perl${PERL_VERSION} @@ -1768,10 +1768,3 @@ -.if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036 -.if !exists(/usr/bin/perl${PERL_VERSION}) && ( defined(USE_PERL5) || \ - defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) ) -check-depends:: - @${ECHO_CMD} "Dependency error: you don't have the right version of perl in /usr/bin." - @${FALSE} -.endif -.else +.if ${PERL_LEVEL} >= 500600 .if defined(USE_PERL5) || defined(USE_PERL5_BUILD) With this, I now see: [root@4x:ports/converters/p5-MIME-Base64] 27# use.perl system [root@4x:ports/converters/p5-MIME-Base64] 28# make -V RUN_DEPENDS [root@4x:ports/converters/p5-MIME-Base64] 29# use.perl port [root@4x:ports/converters/p5-MIME-Base64] 30# make -V RUN_DEPENDS /usr/local/bin/perl5.8.2:/usr/ports/lang/perl5.8 which is expected behavior. -current is not affected by this. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404150441.i3F4fwMR097792>