[152115] trunk/base/src/package1.0/portpkg.tcl

ctreleaven at macports.org ctreleaven at macports.org
Mon Aug 29 04:50:03 PDT 2016


Revision: 152115
          https://trac.macports.org/changeset/152115
Author:   ctreleaven at macports.org
Date:     2016-08-29 04:50:02 -0700 (Mon, 29 Aug 2016)
Log Message:
-----------
base: permit pkg phase to be run asroot, if needed

Modified Paths:
--------------
    trunk/base/src/package1.0/portpkg.tcl

Modified: trunk/base/src/package1.0/portpkg.tcl
===================================================================
--- trunk/base/src/package1.0/portpkg.tcl	2016-08-29 10:26:03 UTC (rev 152114)
+++ trunk/base/src/package1.0/portpkg.tcl	2016-08-29 11:50:02 UTC (rev 152115)
@@ -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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160829/1eb2265a/attachment.html>


More information about the macports-changes mailing list