From owner-freebsd-ports@FreeBSD.ORG Wed Jun 29 03:15:48 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6C4016A41C for ; Wed, 29 Jun 2005 03:15:48 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 241DB43D48 for ; Wed, 29 Jun 2005 03:15:47 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so424612nzd for ; Tue, 28 Jun 2005 20:15:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=C4s1nNW6766/Bnbq4GavrBamgRSamAcAhjrZ4+Ip09WVa5wubUur3HCL6rdKOGRgduz/7/o8hK03WyiV2p+Wmj5uzdhd39lrFLVKli2IndG2L1hL+KN1mC2hkhwvcFXxs6dY++nAvFJUjVPEgIsZFDH/8dpcgVc6ITYNABpSo0U= Received: by 10.36.115.15 with SMTP id n15mr248194nzc; Tue, 28 Jun 2005 20:15:46 -0700 (PDT) Received: from ringworm.mechee.com ([71.102.15.137]) by mx.gmail.com with ESMTP id r1sm7704760nzd.2005.06.28.20.15.44; Tue, 28 Jun 2005 20:15:45 -0700 (PDT) From: "Michael C. Shultz" To: Abu Khaled , freebsd-ports@freebsd.org Date: Tue, 28 Jun 2005 20:15:49 -0700 User-Agent: KMail/1.8.1 References: <200506281911.13454.ringworm01@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506282015.50439.ringworm01@gmail.com> Cc: Subject: Re: portmanager and perl threaded X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 03:15:48 -0000 On Tuesday 28 June 2005 19:20, Abu Khaled wrote: > On 6/29/05, Michael C. Shultz wrote: > > On Tuesday 28 June 2005 18:00, Abu Khaled wrote: > > > I have a situation here where portmanager treats perl-threaded-5.8.7 > > > as an old port and tries to update it. > > > > > > -snip > > > have:perl-threaded-5.8.7 status: OLD available:perl-5.8.7 > > > /lang/perl5.8 -snip > > > > > > Portmanager almost recompiled my entire ports tree and I was lucky to > > > stop it before it uninstalled perl-threaded-5.8.7 > > > Portupgrade correctly reports that the port is up-to-date but I wanted > > > to test portmanager and see how it differs from portupgrade. > > > Can someone give me a workaround for this problem? What options do I > > > need to add for portmanager configuration aside from IGNORE? > > > > Its covered in the man page. see the -ip option, or the conf file option. > > > > -Mike > > Thanks Mike, but I want to know if there is a way to make portmanager > recognize the port as current. perl-threaded-5.8.7 is the same port as > perl-5.8.7 built with option "WITH_THREADS=yes". I'm not an expert on the perl port so may misunsterstand your question, if so sorry. If your asking what I think your are though, all you have to do is make an entry like this: lang/perl5|WITH_THREADS=yes| in /usr/local/etc/portmanager/pm-020.conf then portmanager will always build perl with that setting. > > It's just seems strange why portupgrade considers the port current > while portmanager refers to it as old. As I sait it is the same port > but with a suffix and a build option. Is it possible you have the WITH_THREADS=yes set in portupgrade's config file but not portmanager's? Another option so you don't have to set this in two files is to put it in /etc/make.conf then it will apply no matter how the port is upgraded, the line would look like this: .if ${.CURDIR:M*/lang/perl5} WITH_THREADS=yes .endif -Mike