From owner-freebsd-ports@FreeBSD.ORG Wed Jun 29 07:03:02 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 9369416A41C for ; Wed, 29 Jun 2005 07:03:02 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A8C43D49 for ; Wed, 29 Jun 2005 07:03:01 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id AAED41F87BEE; Wed, 29 Jun 2005 09:03:00 +0200 (CEST) Date: Wed, 29 Jun 2005 09:03:00 +0200 From: Roman Neuhauser To: "Michael C. Shultz" Message-ID: <20050629070300.GA59379@isis.sigpipe.cz> Mail-Followup-To: "Michael C. Shultz" , Abu Khaled , freebsd-ports@freebsd.org References: <200506281911.13454.ringworm01@gmail.com> <200506282015.50439.ringworm01@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506282015.50439.ringworm01@gmail.com> User-Agent: Mutt/1.5.9i Cc: freebsd-ports@freebsd.org, Abu Khaled 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 07:03:02 -0000 # ringworm01@gmail.com / 2005-06-28 20:15:49 -0700: > 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. The OP is asking about circumventing a bug in portmanager that causes it to incorrectly think that lang/perl5.8 (5.8.7) built -DWITH_THREADS, (PKGNAME "perl-threaded-5.8.7" because PKGNAMESUFFIX=-threaded), is older than lang/perl5.8 (5.8.7) built without threads (PKGNAME "perl-5.8.7" because PKGNAMESUFFIX=). -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991