Date: Tue, 1 Jan 2013 05:42:19 +1100 From: "Michael Vale" <masked@internode.on.net> To: "Simon J. Gerraty" <sjg@juniper.net> Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Cross Compiling of ports Makefiles. Message-ID: <674B18C07D96418681C34AD34370F5B6@forexamplePC> In-Reply-To: <20121231174308.05BDE58094@chaos.jnpr.net> References: <E49F944634B24A7387BC937CBE19D2D9@forexamplePC> <20121227180044.7947F58094@chaos.jnpr.net> <641F54E990B14A0AB0A287AE7F810192@forexamplePC> <20121231174308.05BDE58094@chaos.jnpr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Simon J. Gerraty
Sent: Tuesday, January 01, 2013 4:43 AM
To: Michael Vale
Cc: freebsd-hackers@freebsd.org ; freebsd-arch@freebsd.org ;
freebsd-ports@freebsd.org
Subject: Re: Cross Compiling of ports Makefiles.
>>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?
I was assuming a sub-make involved:
install:
${MAKE} DESTDIR=${INSTALL_DESTDIR} realinstall
Thank-you Simon, that seems to have done the trick. I'll finish up my
'initial' work and submit a patch!
-----
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?674B18C07D96418681C34AD34370F5B6>
