[81413] trunk/dports/x11/qt3/Portfile

jmr at macports.org jmr at macports.org
Fri Jul 29 21:57:37 PDT 2011


Revision: 81413
          http://trac.macports.org/changeset/81413
Author:   jmr at macports.org
Date:     2011-07-29 21:57:35 -0700 (Fri, 29 Jul 2011)
Log Message:
-----------
qt3: only require build.asroot when installing as root

Modified Paths:
--------------
    trunk/dports/x11/qt3/Portfile

Modified: trunk/dports/x11/qt3/Portfile
===================================================================
--- trunk/dports/x11/qt3/Portfile	2011-07-30 04:29:19 UTC (rev 81412)
+++ trunk/dports/x11/qt3/Portfile	2011-07-30 04:57:35 UTC (rev 81413)
@@ -145,7 +145,9 @@
 }
 
 # The ranlib above requires the build phase to be run as root
-build.asroot       yes
+if {[getuid] == 0} {
+    build.asroot   yes
+}
 
 use_parallel_build  yes
 build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110729/40d676c4/attachment.html>


More information about the macports-changes mailing list