[128382] trunk/base/src/port1.0/portfetch.tcl
raimue at macports.org
raimue at macports.org
Thu Nov 20 07:26:29 PST 2014
Revision: 128382
https://trac.macports.org/changeset/128382
Author: raimue at macports.org
Date: 2014-11-20 07:26:29 -0800 (Thu, 20 Nov 2014)
Log Message:
-----------
Add lbzip2 to depends_extract
After r121711, lbzip2 will be used for extraction if the corresponding port is
installed, but the binary was hidden in trace mode leading to a failure. Adding
it to depends_extract allows trace mode to work properly even if lbzip2 is
installed.
https://lists.macosforge.org/pipermail/macports-dev/2014-September/027831.html
Revision Links:
--------------
https://trac.macports.org/changeset/121711
Modified Paths:
--------------
trunk/base/src/port1.0/portfetch.tcl
Modified: trunk/base/src/port1.0/portfetch.tcl
===================================================================
--- trunk/base/src/port1.0/portfetch.tcl 2014-11-20 14:47:42 UTC (rev 128381)
+++ trunk/base/src/port1.0/portfetch.tcl 2014-11-20 15:26:29 UTC (rev 128382)
@@ -138,6 +138,9 @@
switch $option {
use_bzip2 {
set extract.suffix .tar.bz2
+ if {![catch {findBinary lbzip2} result]} {
+ depends_extract-append bin:lbzip2:lbzip2
+ }
}
use_lzma {
set extract.suffix .tar.lzma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141120/3ddc5859/attachment.html>
More information about the macports-changes
mailing list