[77750] trunk/base/src/port1.0/portinstall.tcl

afb at macports.org afb at macports.org
Mon Apr 11 01:52:22 PDT 2011


Revision: 77750
          http://trac.macports.org/changeset/77750
Author:   afb at macports.org
Date:     2011-04-11 01:52:22 -0700 (Mon, 11 Apr 2011)
Log Message:
-----------
replace platform guesses with autoconf value

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

Modified: trunk/base/src/port1.0/portinstall.tcl
===================================================================
--- trunk/base/src/port1.0/portinstall.tcl	2011-04-11 08:50:59 UTC (rev 77749)
+++ trunk/base/src/port1.0/portinstall.tcl	2011-04-11 08:52:22 UTC (rev 77750)
@@ -425,11 +425,7 @@
 }
 
 proc portinstall::extract_contents {location type} {
-    set qflag ""
-    # should probably really check if this is supported by tar at configure time
-    if {([option os.major] >= 10 && [option os.platform] == "darwin") || [string match *bsd [option os.platform]]} {
-        set qflag "q"
-    }
+    set qflag ${portutil::autoconf::tar_q}
     switch -- $type {
         tbz -
         tbz2 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110411/d39ef4eb/attachment-0001.html>


More information about the macports-changes mailing list