Cross Compiling of ports Makefiles.
Michael Vale
masked at internode.on.net
Mon Dec 31 18:42:26 UTC 2012
-----Original Message-----
From: Simon J. Gerraty
Sent: Tuesday, January 01, 2013 4:43 AM
To: Michael Vale
Cc: freebsd-hackers at freebsd.org ; freebsd-arch at freebsd.org ;
freebsd-ports at 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
More information about the freebsd-hackers
mailing list