Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 18:50:03 +0100
From:      Ulrich Spoerlein <q@uni.de>
To:        ports@freebsd.org
Subject:   make clean does not respect WRKDIRPREFIX from command line
Message-ID:  <20030106185003.3d9a9519.q@uni.de>

next in thread | raw e-mail | index | archive | help
--=.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030106185003.3d9a9519.q>