[79461] trunk/base
jmr at macports.org
jmr at macports.org
Tue Jun 14 06:17:39 PDT 2011
Revision: 79461
http://trac.macports.org/changeset/79461
Author: jmr at macports.org
Date: 2011-06-14 06:17:38 -0700 (Tue, 14 Jun 2011)
Log Message:
-----------
set run user to current user when using --with-no-root-privileges, just to avoid confusion
Modified Paths:
--------------
trunk/base/aclocal.m4
trunk/base/configure
Modified: trunk/base/aclocal.m4
===================================================================
--- trunk/base/aclocal.m4 2011-06-14 12:19:10 UTC (rev 79460)
+++ trunk/base/aclocal.m4 2011-06-14 13:17:38 UTC (rev 79461)
@@ -327,6 +327,12 @@
AC_MSG_RESULT([$DSTGRP])
AC_SUBST(DSTGRP)
+ # Set run-user to current user
+ AC_MSG_CHECKING([for macports user])
+ RUNUSR=`id -un`
+ AC_MSG_RESULT([$RUNUSR])
+ AC_SUBST(RUNUSR)
+
# Set Tcl package directory to ~/Library/Tcl
AC_MSG_CHECKING(for Tcl package directory)
ac_cv_c_tclpkgd="~$DSTUSR/Library/Tcl"
Modified: trunk/base/configure
===================================================================
--- trunk/base/configure 2011-06-14 12:19:10 UTC (rev 79460)
+++ trunk/base/configure 2011-06-14 13:17:38 UTC (rev 79461)
@@ -647,8 +647,8 @@
MPFRAMEWORKSDIR
MPAPPLICATIONSDIR
DSTMODE
+TCL_PACKAGE_DIR
RUNUSR
-TCL_PACKAGE_DIR
DSTGRP
DSTUSR
MPCONFIGDIR
@@ -7717,6 +7717,14 @@
$as_echo "$DSTGRP" >&6; }
+ # Set run-user to current user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macports user" >&5
+$as_echo_n "checking for macports user... " >&6; }
+ RUNUSR=`id -un`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNUSR" >&5
+$as_echo "$RUNUSR" >&6; }
+
+
# Set Tcl package directory to ~/Library/Tcl
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl package directory" >&5
$as_echo_n "checking for Tcl package directory... " >&6; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110614/49dbefb8/attachment.html>
More information about the macports-changes
mailing list