My goal is to cross-compile binaries from an amd64 FreeBSD host to an armv6 RaspberryPi FreeBSD target.
The problem I am running into is I am required to be root in order to
make install, where my command would be
make PREFIX=/home/arm/install_dir NO_PKG_REGISTER=1 install. Even better would be to use
make package for easier transfer to the target.
The issue is, while I am the sole administrator of the system and do have root capabilities, I would like to ensure I do not compromise the host system with an erroneous
make install (such as one where I omit
As a precautionary measure, I do all the building as a separate user
arm to help prevent me from unwittingly installing arm binaries on my host. In addition, this user has its own copy of the FreeBSD source and ports tree located separate from
Is there a way for
make to create a package without having root access?
Or can I have confidence that
make package will prevent my host from being polluted with inappropriate binaries?
EDIT: According to http://forums.freebsd.org/showpost.php?p=1518&postcount=7, the PREFIX approach is no good...hrm. Did I mean DESTDIR instead?