From owner-freebsd-ports@FreeBSD.ORG Sat Jan 7 10:20:22 2006 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 66E7C16A41F; Sat, 7 Jan 2006 10:20:22 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C28D843D46; Sat, 7 Jan 2006 10:20:21 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by kweetal.tue.nl (Postfix) with ESMTP id 0C42F13B6E6; Sat, 7 Jan 2006 11:20:21 +0100 (CET) Received: from kweetal.tue.nl ([127.0.0.1]) by localhost (kweetal.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53464-07; Sat, 7 Jan 2006 11:20:08 +0100 (CET) Received: from umta.win.tue.nl (umta.win.tue.nl [131.155.71.100]) by kweetal.tue.nl (Postfix) with ESMTP id A190713B63D; Sat, 7 Jan 2006 11:20:08 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002 [131.155.71.72]) by umta.win.tue.nl (Postfix) with ESMTP id 9D59031401C; Sat, 7 Jan 2006 11:20:08 +0100 (CET) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 8F5CF410C; Sat, 7 Jan 2006 11:20:08 +0100 (CET) Date: Sat, 7 Jan 2006 11:20:08 +0100 From: Stijn Hoop To: KOMATSU Shinichiro Message-ID: <20060107102008.GI79296@pcwin002.win.tue.nl> References: <43BCF31F.8050900@FreeBSD.org> <43BF7F8D.6080809@FreeBSD.org> <20060107092614.GH79296@pcwin002.win.tue.nl> <43BF8EF1.3000005@lovepeers.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KR/qxknboQ7+Tpez" Content-Disposition: inline In-Reply-To: <43BF8EF1.3000005@lovepeers.org> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: Jeremy Messenger , Doug Barton , freebsd ports Subject: Re: New /bin/sh based script to manage ports 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: Sat, 07 Jan 2006 10:20:22 -0000 --KR/qxknboQ7+Tpez Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 07, 2006 at 06:50:41PM +0900, KOMATSU Shinichiro wrote: > Stijn Hoop wrote: > > On Sat, Jan 07, 2006 at 12:45:01AM -0800, Doug Barton wrote: > >=20 > >>However, the other two present a chicken and=20 > >>egg problem if I choose to use 'make -V' to get the values of these=20 > >>variables (where do I cd to?). > >=20 > >=20 > > Why do you need to cd? > >=20 > > [stijn@tangaloor] ls Makefile > > ls: Makefile: No such file or directory > > [stijn@tangaloor] make -V PORTSDIR > > /net/freebsd/ports >=20 > PORTSDIR is set in bsd.port.mk, which is not included > if you do not explicitly include it by ".include ". > Don't you set it in /etc/make.conf or environment variable? >=20 > Recently I thought the same problem, and > the best solution I came up with till now is > running the following command: >=20 > % echo '.include ' | make -f - -V PORTSDIR >=20 > I will add this into portupgrade in later release > (after solving the MOVED problem...). Ah, of course. That is probably the best solution, indeed. --Stijn --=20 Light travels faster than sound. That's why some people appear bright until you hear them speak. --KR/qxknboQ7+Tpez Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDv5XYY3r/tLQmfWcRAiMoAKCkKb86Ofay5USKim1qtO4fg35U/wCcChY5 C5Iq6uHi8diYqp0O/Q6UTtc= =nOOY -----END PGP SIGNATURE----- --KR/qxknboQ7+Tpez--