From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 27 18:19:50 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 248B073F; Thu, 27 Dec 2012 18:19:50 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og123.obsmtp.com (exprod7og123.obsmtp.com [64.18.2.24]) by mx1.freebsd.org (Postfix) with ESMTP id C7DBB8FC0C; Thu, 27 Dec 2012 18:19:49 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob123.postini.com ([64.18.6.12]) with SMTP ID DSNKUNyRRfx8jGDkcP6nEZ6NSV8YljduXqtB@postini.com; Thu, 27 Dec 2012 10:19:49 PST Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 27 Dec 2012 10:00:47 -0800 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id qBRI0i301557; Thu, 27 Dec 2012 10:00:46 -0800 (PST) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 7947F58094; Thu, 27 Dec 2012 10:00:44 -0800 (PST) To: Michael Vale Subject: Re: Cross Compiling of ports Makefiles. In-Reply-To: References: Comments: In-reply-to: "Michael Vale" message dated "Thu, 27 Dec 2012 16:42:48 +1100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 27 Dec 2012 10:00:44 -0800 Message-ID: <20121227180044.7947F58094@chaos.jnpr.net> X-Mailman-Approved-At: Thu, 27 Dec 2012 21:49:35 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 18:19:50 -0000 >Doing the same thing could also prevent the need for a DESTDIR JAIL >install at all and just use the real build machine=E2=80=99s build env, ra= ther >than a jail. Regardless. We still have to install these targets and >their DESTDIR is skewed. There is a few options,=20 I think I know what you mean, but not clear on the "their DESTDIR is skewed" bit. >One is to have a MAKEOBJDIRPREFIX like option, and redefine every >target=E2=80=99s DESTDIR ${makeobjDESTDIR} before running do-install. Now= i=E2=80=99ve >yet to complete this stage, but I believe this is the way to do it.=20 Would it be sufficient to have an INSTALL_PREFIX and/or INSTALL_DESTDIR so that DESTDIR can be different during install ? [I was recently experimenting with something similar...]