[24151] trunk/base/src/port1.0

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 17 17:14:18 PDT 2007


Revision: 24151
          http://trac.macosforge.org/projects/macports/changeset/24151
Author:   jberry at macports.org
Date:     2007-04-17 17:14:18 -0700 (Tue, 17 Apr 2007)

Log Message:
-----------
Fix broken launchd support:
The launchd enable in configure was removed in 1.4.2, but not all uses of the variable were removed.
This checkin removes thoses uses.

To enable launchd in a 1.4.2 system, set enable_launchd_support to yes in port1.0/port_autoconf.tcl

Modified Paths:
--------------
    trunk/base/src/port1.0/port_autoconf.tcl.in
    trunk/base/src/port1.0/portstartupitem.tcl

Modified: trunk/base/src/port1.0/port_autoconf.tcl.in
===================================================================
--- trunk/base/src/port1.0/port_autoconf.tcl.in	2007-04-17 17:01:52 UTC (rev 24150)
+++ trunk/base/src/port1.0/port_autoconf.tcl.in	2007-04-18 00:14:18 UTC (rev 24151)
@@ -34,7 +34,6 @@
 	variable cvs_path "@CVS@"
 	variable rsync_path "@RSYNC@"
 	variable tar_command "@TAR_CMD@"
-	variable enable_launchd_support "@ENABLE_LAUNCHD_SUPPORT@"
 	variable have_launchd "@HAVE_LAUNCHD@"
 	variable launchctl_path "@LAUNCHCTL@"
 	variable install_user "@DSTUSR@"

Modified: trunk/base/src/port1.0/portstartupitem.tcl
===================================================================
--- trunk/base/src/port1.0/portstartupitem.tcl	2007-04-17 17:01:52 UTC (rev 24150)
+++ trunk/base/src/port1.0/portstartupitem.tcl	2007-04-18 00:14:18 UTC (rev 24151)
@@ -613,10 +613,8 @@
 	if {${startupitem.type} == "default" || ${startupitem.type} == ""} {
 		switch -exact ${os.platform} {
 			darwin {
-				set enableLaunchd ${portutil::autoconf::enable_launchd_support}
 				set haveLaunchd	${portutil::autoconf::have_launchd}
-				
-				if { [tbool enableLaunchd] && [tbool haveLaunchd] } {
+				if { [tbool haveLaunchd] } {
 					set startupitem.type "launchd"
 				} else {
 					set startupitem.type "systemstarter"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070417/afb89c21/attachment.html


More information about the macports-changes mailing list