Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2017 15:08:45 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   installing into alternate directory?
Message-ID:  <20171013220845.GA97308@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
I suspect that this is documented someplace.
In the old days, one coudl install ports in
an directory hierarchy other than /usr/local
by setting DESTDIR.  This is/was handy in 
testing a new port, or in particular, an upgrade
of an abandoned port.

% cd /usr/ports/math/octave42
% make
% setenv DESTDIR /usr/local/octave42
% make install
===>  Creating some important subdirectories
===> /tmp subdirectory has been successfully created
===> /dev subdirectory has been successfully created
===>  Starting chrooted make in /usr/local/octave42...
chroot: /bin/sh: No such file or directory
===>  Chrooted make in /usr/local/octave42 failed
===>  Cleaning up...
*** Error code 1

What?

-- 
Steve



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