[MacPorts] #17182: Variables aren't expanded in path:-style dependencies
MacPorts
noreply at macports.org
Fri Nov 21 18:19:50 PST 2008
#17182: Variables aren't expanded in path:-style dependencies
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts base bugs
Component: base | Version: 1.6.0
Keywords: | Port:
-------------------------------------+--------------------------------------
Comment(by mcalhoun@…):
Based on this discussion, could the problem be the following in
portindex?:
{{{
--- portindex 2008-11-04 09:06:00.000000000 -0500
+++ portindex.new 2008-11-21 21:02:26.000000000 -0500
@@ -38,7 +38,7 @@
incr stats(total)
global macports::prefix
set save_prefix $prefix
- set prefix {\${prefix}}
+ set prefix {${prefix}}
if {[catch {set interp [mportopen file://[file join $directory
$portdir]]} result]} {
puts stderr "Failed to parse file $portdir/Portfile: $result"
# revert the prefix.
}}}
Making the change seems to have changed the \${prefix} to ${prefix} in a
test Portindex file.
--
Ticket URL: <http://trac.macports.org/ticket/17182#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list