qt3: only require build.asroot when installing as root
--- 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 {