Marc Espie wrote:
On Mon, Jul 18, 2005 at 02:58:40PM +0100, Jonas Melian wrote:
Marc Espie wrote:
On Sun, Jul 17, 2005 at 07:56:11PM +0100, Jonas Melian wrote:
For installing a port in another subdirectory, i'd used DESTDIR and
DESTDIRNAME but both fails.
I also tried with 'FAKE_FLAGS=${DESTDIRNAME}=/usr/test' and
'PREFIX=${DESTDIR}/usr/local' in /etc/mk.conf but nothing.
sudo make install DESTDIR=/usr/test
I looked at man bsd.port.mk
Any suggestion?
Give more details. I think you're seriously confused.
I built OpenBSD from source optimized in size.
I created a file /etc/mk.conf with the new options for the compiler and
I run:
DIR_SRC=/usr/test
cd /usr/src/etc && make distrib-dirs DESTDIR=$DIR_SRC
cd /usr/src && nice make build DESTDIR=$DIR_SRC
The new system was built in that directory.
But now I cann't build a port in that subdirectory.
What you're trying to do is not supported, your best bet is a chroot.
Well, i could simply uncompress the built package in that directory.