From owner-freebsd-stable Wed Nov 8 21:17:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hobbits.brel.com (hobbits.brel.com [203.127.231.61]) by hub.freebsd.org (Postfix) with ESMTP id 3431537B479; Wed, 8 Nov 2000 21:17:12 -0800 (PST) Received: by hobbits.brel.com (Postfix, from userid 1001) id 2A7D83328; Thu, 9 Nov 2000 13:17:09 +0800 (SGT) Date: Thu, 9 Nov 2000 13:17:09 +0800 From: Calvin NG To: "Bruce A. Mah" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: pkg_version does not work for ports that add -gtk suffix Message-ID: <20001109131709.C18828@brel.com> References: <20001107144253.C14453@brel.com> <200011082102.eA8L2xe12184@bmah-freebsd-0.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200011082102.eA8L2xe12184@bmah-freebsd-0.cisco.com>; from bmah@FreeBSD.ORG on Wed, Nov 08, 2000 at 01:02:58PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings, Thanks for the update. My pleasure to work on it, really. Anyway, I looked into the files is /usr/ports/Mk and realised that there are others prefixes too like -esound, -glib, ... then there are more stuff like apache/mod_ssl/php ... It gets way complicatd. Glad to know someone better at it is working on it. Regards, /calvin lines with :> are quotes from Bruce A. Mah's email :> If memory serves me right, Calvin NG wrote: :> :> > Just send my first PR ever. Anyway, maybe we can slip this :> > into 4.2?? Or is it too late? :> > :> > >Description: :> > :> > Recently, some of the the ports that define 'USE_GTK' :> > adds the '-gtk' suffix to the package name/port name. :> > This breaks the pkg_version utility as it cannot fine :> > the portname/package in the INDEX file. :> :> I've closed this PR, because an upcoming commit to bsd.port.mk after the :> release will activate some pkg_* changes (proposed by sobomax) that will :> deal with this problem, as well as some other similar ones. You can :> follow the related discussion in the archives for the -ports list by :> looking for messages with the subject "PROPOSAL: Use @comment PLIST :> variable to track where installed packages came from". :> :> Thanks for taking the time to look into this problem though! :> :> Bruce. :> :> :> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message