Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8

From: leafy <leafy_at_chihiro.leafy.idv.tw>
Date: Mon, 14 Apr 2003 17:06:22 +0800
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
_at__at_ -1334,7 +1334,7 _at__at_
 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
Received on Mon Apr 14 2003 - 00:06:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC