Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 17:06:22 +0800
From:      leafy <leafy@chihiro.leafy.idv.tw>
To:        freebsd-current@freebsd.org
Subject:   Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8
Message-ID:  <20030414090622.GA35826@chihiro.leafy.idv.tw>

next in thread | raw e-mail | index | archive | help
For OSVERSION>500036 and Perl5.8 installed, many ports depending on Perl5 
will get an incorrect build-dependancy on Perl 5.6.1. 

Test case:
cd ports/sysutils/colorize && make clean, there will be a dependancy on 
perl5.6.1_11


The following patch corrects it but I doubt it's a long term solution if 
the OSVERSION kept being bumped.

--- bsd.port.mk~        Mon Apr  7 09:41:34 2003
+++ bsd.port.mk Mon Apr 14 17:02:01 2003
@@ -1334,7 +1334,7 @@
 USE_REINPLACE=yes
 .endif

-.if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036
+.if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500112
 .if !exists(/usr/bin/perl${PERL_VERSION}) && ( defined(USE_PERL5) || \
        defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) )
 pre-everything::


Jiawei Ye
-- 
"Without the userland, the kernel is useless."
                                     --inspired by The Tao of Programming



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