On 2016-08-26 05:09, Craig Treleaven wrote: > I’ve tried adding: > > pkg.asroot yes > > to my portfile but that seems to be unrecognized. > > Is there a way around this?
Not without patching base. I have no experience with creating pkgs, so I don't know if it makes sense to allow running this as root at all. Rainer
Index: src/package1.0/portpkg.tcl =================================================================== --- src/package1.0/portpkg.tcl (revision 151752) +++ src/package1.0/portpkg.tcl (working copy) @@ -45,6 +45,7 @@ # define options options package.type package.destpath package.flat package.resources package.scripts +options pkg.asroot # Set defaults default package.destpath {${workpath}} @@ -52,6 +53,7 @@ default package.scripts {${workpath}/pkg_scripts} # Need productbuild to make flat packages really work default package.flat {[expr {[vercmp $macosx_deployment_target 10.6] >= 0}]} +default pkg.asroot no set_ui_prefix
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev