From owner-freebsd-ports@FreeBSD.ORG Wed Jun 29 07:42:33 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 C47BA16A41C for ; Wed, 29 Jun 2005 07:42:33 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8533943D48 for ; Wed, 29 Jun 2005 07:42:33 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id l1so421270nzf for ; Wed, 29 Jun 2005 00:42:32 -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=pewEaEpbHvNm+meG+1ax0VimLvKmJxHKPwYzegfyrHfhkuFroBrogAMdwSyLBEtZnq4vTq9bunEpfc48VVHuv1pV+taEC6hnTnE2A1NoupcqHzj/jTOHxcECkzBwjvKSUrzfJRupstst3vM7lRmWk8ifmU4pc9KDfwZRYgiKPgI= Received: by 10.36.222.2 with SMTP id u2mr6311330nzg; Wed, 29 Jun 2005 00:42:32 -0700 (PDT) Received: from ringworm.mechee.com ([71.102.0.61]) by mx.gmail.com with ESMTP id c12sm1794160nzc.2005.06.29.00.42.29; Wed, 29 Jun 2005 00:42:32 -0700 (PDT) From: "Michael C. Shultz" To: Roman Neuhauser , freebsd-ports@freebsd.org Date: Wed, 29 Jun 2005 00:42:35 -0700 User-Agent: KMail/1.8.1 References: <200506290033.11542.ringworm01@gmail.com> <20050629073844.GB59918@isis.sigpipe.cz> In-Reply-To: <20050629073844.GB59918@isis.sigpipe.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506290042.36512.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 07:42:34 -0000 On Wednesday 29 June 2005 00:38, you wrote: > # ringworm01@gmail.com / 2005-06-29 00:33:10 -0700: > > On Wednesday 29 June 2005 00:26, you wrote: > > > # ringworm01@gmail.com / 2005-06-29 00:22:35 -0700: > > > > On Wednesday 29 June 2005 00:03, Roman Neuhauser wrote: > > > > > # 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=). > > > > > > > > There isn't a bug in portmanager, it is building perl exactly how it > > > > is told to "perl-5.8.7" where the old version is > > > > "perl-threaded-5.8.7", it is up to the OP to set the build options > > > > correctly. > > > > > > How exactly is it old if the version number is the same? > > > > > > Wait, you mean it thinks perl needs rebuilding because the options > > > are now different, which implies desire of change in the > > > administrator? That would be a reasonable logic... > > > > Correct. I did make a mistake in the examples above though > > lang/perl5|WITH_THREADS=yes| should be > > lang/perl5.8|WITH_THREADS=yes|, I just sent him a message > > with the correction. > > BTW, you might want to bounce this to the mailing list so that the > thread there doesn't end in my lame assertion. As you wish. -M