From owner-freebsd-ports Mon Jan 6 9:50:19 2003 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 621D937B401 for ; Mon, 6 Jan 2003 09:50:18 -0800 (PST) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F86743ED4 for ; Mon, 6 Jan 2003 09:50:11 -0800 (PST) (envelope-from q@uni.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx35.rz.uni-wuerzburg.de (8.8.8/8.8.8/uniwue-MM-1.05) with ESMTP id SAA20838 for ; Mon, 6 Jan 2003 18:50:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8175466E51 for ; Mon, 6 Jan 2003 18:50:10 +0100 (CET) Received: from wrzx37.rz.uni-wuerzburg.de (wrzx37.rz.uni-wuerzburg.de [132.187.3.37]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id 3E2C1632C9 for ; Mon, 6 Jan 2003 18:50:10 +0100 (CET) Received: from spamchecker (localhost [127.0.0.1]) by spamcheck.rz.uni-wuerzburg.de (Postfix) with ESMTP id 90963A110 for ; Mon, 6 Jan 2003 18:50:09 +0100 (CET) Received: from frodo.galgenberg.net (galgenberg.net [132.187.222.250]) by wrzx37.rz.uni-wuerzburg.de (Postfix) with SMTP id 7654A4F3 for ; Mon, 6 Jan 2003 18:50:09 +0100 (CET) Received: (qmail 39877 invoked from network); 6 Jan 2003 17:50:08 -0000 Received: from gb-007.galgenberg.net (HELO roadrunner) (@132.187.222.7) by galgenberg.net with SMTP; 6 Jan 2003 17:50:08 -0000 Date: Mon, 6 Jan 2003 18:50:03 +0100 From: Ulrich Spoerlein To: ports@freebsd.org Subject: make clean does not respect WRKDIRPREFIX from command line Message-Id: <20030106185003.3d9a9519.q@uni.de> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.Za)lguhaaTJr5=" X-Spam-Status: No, hits=-0.9 required=8.0 tests=NICE_HELO,PGP_SIGNATURE_2,SPAM_PHRASE_00_01 version=2.42-string_20021002 X-Spam-Level: X-Virus-Scanned: by AMaViS snapshot-20020422 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.Za)lguhaaTJr5= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, i'm working with a seperate ports-directory for my own ports and ran across the following problem. i have WRKDRIPREFIX set to /usr/tmp in /etc/make.conf, but i want to use WRKDIRPREFIX="" for these special ports (so i can just 'cd work/foo' instead of 'cd /usr/tmp/path/to/port'). So, i'm building these ports with: make WRKDIRPREFIX="" install doing a make WRKDIRPREFIX="" clean _will not_ clean /path/to/port/work, but /usr/tmp/path/to/port/work. because 'make clean' calls 'make ${__softMAKEFLAGS} do-clean' and _this_ make-invocation gets it's WRKDIRPREFIX from /etc/make.conf. So i could either do a 'make WRKDIRPREFIX="" do-clean' in my port, or the complete(??) environment from 'make clean' has to be passed to 'make do-clean'. (I can only think of WRKDIRPREFIX and WRKDIR being critical) Sorry if this has already been discussed, but i thought i should bring this topic up, because i spent some time finding the "error". --=.Za)lguhaaTJr5= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GcHQmArGtfDbn0QRAiS1AKCnlWKwGHnZyPLZ4H/h1DgbRqPcHwCeLBb4 f0AZsoX3sfVfhdRt5u5EXjA= =C5Xl -----END PGP SIGNATURE----- --=.Za)lguhaaTJr5=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message