[24659] trunk/base/src

source_changes at macosforge.org source_changes at macosforge.org
Sun Apr 29 12:22:23 PDT 2007


Revision: 24659
          http://trac.macosforge.org/projects/macports/changeset/24659
Author:   eridius at macports.org
Date:     2007-04-29 12:22:23 -0700 (Sun, 29 Apr 2007)

Log Message:
-----------
Quiet some complaining about portarchivemode being unset, because it was being checked for the wrong way

Modified Paths:
--------------
    trunk/base/src/package1.0/portpkg.tcl
    trunk/base/src/port1.0/portactivate.tcl
    trunk/base/src/port1.0/portinstall.tcl

Modified: trunk/base/src/package1.0/portpkg.tcl
===================================================================
--- trunk/base/src/package1.0/portpkg.tcl	2007-04-29 18:53:44 UTC (rev 24658)
+++ trunk/base/src/package1.0/portpkg.tcl	2007-04-29 19:22:23 UTC (rev 24659)
@@ -36,7 +36,7 @@
 set com.apple.pkg [target_new com.apple.pkg pkg_main]
 target_runtype ${com.apple.pkg} always
 target_provides ${com.apple.pkg} pkg
-if {[option portarchivemode] == "yes"} {
+if {[info exists darwinports::portarchivemode] && $darwinports::portarchivemode == "yes"} {
 	target_requires ${com.apple.pkg} unarchive destroot
 } else {
 	target_requires ${com.apple.pkg} destroot

Modified: trunk/base/src/port1.0/portactivate.tcl
===================================================================
--- trunk/base/src/port1.0/portactivate.tcl	2007-04-29 18:53:44 UTC (rev 24658)
+++ trunk/base/src/port1.0/portactivate.tcl	2007-04-29 19:22:23 UTC (rev 24659)
@@ -40,7 +40,7 @@
 target_runtype ${com.apple.activate} always
 target_state ${com.apple.activate} no
 target_provides ${com.apple.activate} activate
-if {[option portarchivemode] == "yes"} {
+if {[info exists darwinports::portarchivemode] && $darwinports::portarchivemode == "yes"} {
 	target_requires ${com.apple.activate} main unarchive fetch extract checksum patch configure build destroot archive install
 } else {
 	target_requires ${com.apple.activate} main fetch extract checksum patch configure build destroot install

Modified: trunk/base/src/port1.0/portinstall.tcl
===================================================================
--- trunk/base/src/port1.0/portinstall.tcl	2007-04-29 18:53:44 UTC (rev 24658)
+++ trunk/base/src/port1.0/portinstall.tcl	2007-04-29 19:22:23 UTC (rev 24659)
@@ -37,7 +37,7 @@
 set com.apple.install [target_new com.apple.install install_main]
 target_state ${com.apple.install} no
 target_provides ${com.apple.install} install
-if {[option portarchivemode] == "yes"} {
+if {[info exists darwinports::portarchivemode] && $darwinports::portarchivemode == "yes"} {
 	target_requires ${com.apple.install} main unarchive fetch extract checksum patch configure build destroot archive
 } else {
 	target_requires ${com.apple.install} main fetch extract checksum patch configure build destroot

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


More information about the macports-changes mailing list