From owner-freebsd-current@FreeBSD.ORG Mon Apr 19 19:01:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4CC916A4CE for ; Mon, 19 Apr 2004 19:01:36 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E74C43D39 for ; Mon, 19 Apr 2004 19:01:36 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (411237182d9739c201fdeac0ae1ec069@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i3K21ZAC007821; Mon, 19 Apr 2004 19:01:35 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3CBCA511D0; Mon, 19 Apr 2004 19:01:35 -0700 (PDT) Date: Mon, 19 Apr 2004 19:01:35 -0700 From: Kris Kennaway To: Garance A Drosihn Message-ID: <20040420020134.GA50590@xor.obsecurity.org> References: <20040413121925.GB29867@voodoo.oberon.net> <407C4035.8020609@ciam.ru> <1081896823.772.58.camel@klotz.local> <20040414031057.GA42629@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: FreeBSD Current cc: Martin cc: Kris Kennaway Subject: Re: Second "RFC" on pkg-data idea for ports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 02:01:36 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2004 at 09:59:35PM -0400, Garance A Drosihn wrote: > At 8:10 PM -0700 4/13/04, Kris Kennaway wrote: > >On Tue, Apr 13, 2004 at 07:22:26PM -0400, Garance A Drosihn wrote: > > > At 12:53 AM +0200 4/14/04, Martin wrote: > > > > It is very difficult to parse the Makefiles to find out > > > > which version number and which dependencies it has. Some > > > > versions (like KDE3) are just variables and I don't have an > >> > idea how to fetch them yet. > >> > >> If it is easy for you to execute commands, then something > >> like: > >> > >> /bin/make -f /usr/ports/shells/bash2/Makefile -V PORTVERSION > >> > >> might give you the result you want. But I do not know if > >> that will work for all ports. > > > >It should, modulo s,/bin,/usr/bin, :-). >=20 > Oops! Yeah. It helps to get the right command! >=20 > But the other thing I was thinking of is that the above is not > sufficient for some ports. In some cases, you also have to 'cd' > into the directory of the port before doing the `make'. Eg: >=20 > (32) cd > (33) make -f /usr/ports/shells/zsh+euc_hack/Makefile -V PORTNAME > "/usr/ports/shells/zsh+euc_hack/Makefile", line 18: Could not find=20 > /root/../zsh/Makefile > make: fatal errors encountered -- cannot continue >=20 > (34) cd /usr/ports/shells/zsh+euc_hack > (35) make -f /usr/ports/shells/zsh+euc_hack/Makefile -V PORTNAME > zsh Or use make -C. Kris --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhIR+Wry0BWjoQKURAk2iAJ9ww0R0LUPAdHJF5tWuCXzuOUi1uwCbBqtj 7X+HNB6A7Fcz2V2ISGKeneM= =BEQs -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--