From owner-freebsd-ports Thu Feb 1 9:16:43 2001 Delivered-To: freebsd-ports@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id CA97B37B6A2 for ; Thu, 1 Feb 2001 09:16:25 -0800 (PST) Received: from thehousleys.net (baby.int.thehousleys.net [192.168.0.24]) by thehousleys.net (8.11.1/8.11.1) with ESMTP id f11HGGD35652; Thu, 1 Feb 2001 12:16:16 -0500 (EST) (envelope-from jim@thehousleys.net) Message-ID: <3A7999E0.3EE8B62E@thehousleys.net> Date: Thu, 01 Feb 2001 12:16:16 -0500 From: James Housley X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: ewdafa Cc: ports@FreeBSD.ORG Subject: Re: @comment ORIGIN References: <005201c08ba8$3ac799a0$0a00a8c0@reevolved.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ewdafa wrote: > > Ello, > The recent addition of the ORIGIN comment is great. It's allowed me to whip > up a ports checking tool that checks out /var/db/pkg/ for installed packages > and then looks under /usr/ports for updated versions of the packages. BUT, > there are some inconsistencies.. these are probably down to the package > maintainers themselves. > I found that mysql323-client and mysql323-server both have a strange > Makefile scheme thats different to other ports e.g. > mysql323-client: > PORTNAME= ${MASTERPORTNAME:S/-server/-client/g} > mysql323-server: > PORTNAME?= ${MASTERPORTNAME} > > It seems the client is just a kind of wrapper around the server, but, it > would still be handy to have the proper information in there. Hm. > This at the moment is the only thing breaking my app, apart from that it > seems to work quite well. > That is a master/slave port. There are several of them. What you need to do, should do, is "make -V PORTNAME". Check the man page, but -V will print the value the makefile creates for any variable. housley@baby:~ {2} cd /usr/ports/databases/mysql323-client/ housley@baby:...s/databases/mysql323-client {3} make -V PORTNAME mysql-client That is the best way to get any of these. Hope this helps. Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- Nothing is fool proof, because fools are too ingenious. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message