<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/a18eb94efc347e1d2e8bc1c09702bcdf4cfacb83">https://github.com/macports/macports-base/commit/a18eb94efc347e1d2e8bc1c09702bcdf4cfacb83</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new a18eb94e Change startupitem_install default if not root
</span>a18eb94e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a18eb94efc347e1d2e8bc1c09702bcdf4cfacb83
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Apr 14 03:40:41 2021 +1000
<span style='display:block; white-space:pre;color:#404040;'> Change startupitem_install default if not root
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/56743
</span>---
aclocal.m4 | 12 ++++++++----
configure | 12 ++++++++----
2 files changed, 16 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aclocal.m4 b/aclocal.m4
</span><span style='display:block; white-space:pre;color:#808080;'>index 127967d2..d9562911 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aclocal.m4
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aclocal.m4
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -742,14 +742,18 @@ AC_DEFUN([MP_PATH_FRAMEWORKS],[
</span> AC_DEFUN([MP_CHECK_STARTUPITEMS],[
dnl if the user specifies --without-startupitems,
dnl set "startupitem_install no" in macports.conf
<span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_ARG_WITH(startupitems, [AS_HELP_STRING([--without-startupitems],[set "startupitem_install no" in macports.conf])], [with_startupitems=$withval], [with_startupitems=yes] )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_ARG_WITH(startupitems, [AS_HELP_STRING([--without-startupitems],[set "startupitem_install no" in macports.conf])], [with_startupitems=$withval], [with_startupitems=default] )
</span>
AC_MSG_CHECKING([for startupitem_install])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "x$with_startupitems" != "xno" ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- startupitem_install="#startupitem_install yes"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$with_startupitems" = "xno" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem_install="startupitem_install no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elif test "x$with_startupitems" = "xdefault" -a "$DSTUSR" != "root" ; then
</span> startupitem_install="startupitem_install no"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ with_startupitems=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem_install="#startupitem_install yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with_startupitems=yes
</span> fi
AC_MSG_RESULT([$with_startupitems])
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/configure b/configure
</span><span style='display:block; white-space:pre;color:#808080;'>index 55823da1..aa1dd0e9 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/configure
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/configure
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7095,17 +7095,21 @@ if test ${with_startupitems+y}
</span> then :
withval=$with_startupitems; with_startupitems=$withval
else $as_nop
<span style='display:block; white-space:pre;background:#ffe0e0;'>- with_startupitems=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with_startupitems=default
</span> fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for startupitem_install" >&5
printf %s "checking for startupitem_install... " >&6; }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "x$with_startupitems" != "xno" ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- startupitem_install="#startupitem_install yes"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$with_startupitems" = "xno" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem_install="startupitem_install no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elif test "x$with_startupitems" = "xdefault" -a "$DSTUSR" != "root" ; then
</span> startupitem_install="startupitem_install no"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ with_startupitems=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem_install="#startupitem_install yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with_startupitems=yes
</span> fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_startupitems" >&5
</pre><pre style='margin:0'>
</pre>