Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 09:43:07 -0800
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Michael Vale <masked@internode.on.net>
Cc:        freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: Cross Compiling of ports Makefiles.
Message-ID:  <20121231174308.05BDE58094@chaos.jnpr.net>
In-Reply-To: <641F54E990B14A0AB0A287AE7F810192@forexamplePC>
References:  <E49F944634B24A7387BC937CBE19D2D9@forexamplePC> <20121227180044.7947F58094@chaos.jnpr.net> <641F54E990B14A0AB0A287AE7F810192@forexamplePC>

next in thread | previous in thread | raw e-mail | index | archive | help
>>One is to have a MAKEOBJDIRPREFIX like option, and redefine every
>>target=E2=80=99s DESTDIR ${makeobjDESTDIR} before running do-install.  No=
w i=E2=80=99ve
>>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=3D${INSTALL_DESTDIR} realinstall




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