From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 31 14:33:48 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 37D45ADC; Mon, 31 Dec 2012 14:33:48 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id 32A2C8FC13; Mon, 31 Dec 2012 14:33:46 +0000 (UTC) Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail05.adl6.internode.on.net with SMTP; 01 Jan 2013 01:03:45 +1030 Message-ID: <641F54E990B14A0AB0A287AE7F810192@forexamplePC> From: "Michael Vale" To: "Simon J. Gerraty" References: <20121227180044.7947F58094@chaos.jnpr.net> In-Reply-To: <20121227180044.7947F58094@chaos.jnpr.net> Subject: Re: Cross Compiling of ports Makefiles. Date: Tue, 1 Jan 2013 01:33:44 +1100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 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: Mon, 31 Dec 2012 14:33:48 -0000 -----Original Message----- From: Simon J. Gerraty Sent: Friday, December 28, 2012 5:00 AM To: Michael Vale Cc: freebsd-hackers@freebsd.org ; freebsd-arch@freebsd.org ; freebsd-ports@freebsd.org Subject: Re: Cross Compiling of ports Makefiles. >Doing the same thing could also prevent the need for a DESTDIR JAIL >install at all and just use the real build machine’s build env, rather >than a jail. Regardless. We still have to install these targets and >their DESTDIR is skewed. There is a few options, I think I know what you mean, but not clear on the "their DESTDIR is skewed" bit. I'm not sure what I meant here either. Thank-you for taking the time to read the entire e-mail! :) >One is to have a MAKEOBJDIRPREFIX like option, and redefine every >target’s DESTDIR ${makeobjDESTDIR} before running do-install. Now i’ve >yet to complete this stage, but I believe this is the way to do it. 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...] So how would that work? pre-install: INSTALL_DESTDIR=/usr/obj/crossoutroot/ DESTDIR=${INSTALL_DESTDIR} do-install: ? I will try something like that. Thank-you for taking the time to reply Simon, Michael Vale. ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.2805 / Virus Database: 2637/5998 - Release Date: 12/30/12 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.2805 / Virus Database: 2637/5998 - Release Date: 12/30/12