From owner-freebsd-current@FreeBSD.ORG Mon Apr 14 02:06:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5951A37B410 for ; Mon, 14 Apr 2003 02:06:25 -0700 (PDT) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83FC543FA3 for ; Mon, 14 Apr 2003 02:06:24 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [211.74.131.119] (port=50280 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 194zux-0003YO-00 for freebsd-current@freebsd.org; Mon, 14 Apr 2003 17:06:23 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h3E96MWN035844 for ; Mon, 14 Apr 2003 17:06:22 +0800 (CST) (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h3E96MG8035843 for freebsd-current@freebsd.org; Mon, 14 Apr 2003 17:06:22 +0800 (CST) Date: Mon, 14 Apr 2003 17:06:22 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20030414090622.GA35826@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 09:06:25 -0000 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