My port[1] needs to execute chroot(8) and mount(8) in order to build a
binary fit to be run under linux_base-*. Sometimes there's no .rpm or
source needs patching.

Looking at bsd.port.mk it has a notion of _SUSEQ targets that are
executed within SU_CMD context. However, a port cannot define them
because the value may be overriden or ignored by a target already
existing in _SEQ. NEED_ROOT seems to an undocumented hack for staging.

Can someone suggest a way to force build be performed under root?

[1] 
https://trillian.chruetertee.ch/freebsd-gecko/browser/trunk/www/linux-c6-freshplayerplugin/Makefile

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to