[81821] branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

Bradley Giesbrecht pixilla at macports.org
Fri Aug 5 07:16:11 PDT 2011


On Aug 5, 2011, at 4:33 AM, cal at macports.org wrote:

> Revision 81821
> Author cal at macports.org
> Date 2011-08-05 04:33:46 -0700 (Fri, 05 Aug 2011)
> Log Message rev-upgrade: path_is_in_prefix didn't work as expected
> Modified Paths	• branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
> 
> -    return [string first $macports::prefix $path] == 0 || [string first $macports::applications_dir $path] == 0
> +    if {[string first $macports::prefix $path] == 0} {
> +        return yes
> +    }
> +    if {[string first $macports::applications_dir $path] == 0} {
> +        return yes
> +    }
> +    return no

Cal: Should other paths configurable when port built from source be added to path_is_in_prefix?
$ ./configure --help 
...
  --with-frameworks-dir   Frameworks installation directory.
...


Regards,
Bradley Giesbrecht (pixilla)






More information about the macports-dev mailing list