[41045] branches/variant-descs-14482/base/src/port1.0/portmain.tcl

raimue at macports.org raimue at macports.org
Tue Oct 21 04:20:36 PDT 2008


Revision: 41045
          http://trac.macports.org/changeset/41045
Author:   raimue at macports.org
Date:     2008-10-21 04:20:36 -0700 (Tue, 21 Oct 2008)
Log Message:
-----------
port1.0/portmain.tcl:
Add a note that we should get rid of $portresourcepath in favor of [getportresourcepath]

Modified Paths:
--------------
    branches/variant-descs-14482/base/src/port1.0/portmain.tcl

Modified: branches/variant-descs-14482/base/src/port1.0/portmain.tcl
===================================================================
--- branches/variant-descs-14482/base/src/port1.0/portmain.tcl	2008-10-21 11:19:47 UTC (rev 41044)
+++ branches/variant-descs-14482/base/src/port1.0/portmain.tcl	2008-10-21 11:20:36 UTC (rev 41045)
@@ -53,7 +53,8 @@
 option_proc default_variants handle_default_variants
 
 # Hard coded version number for resource location
-default portresourcepath {[file join $portsharepath resources/port1.0]}
+# XXX(14482): Get rid of portresourcepath, use getsourceconfigdir instead
+default portresourcepath {[file join [getportresourcepath $porturl] port1.0]}
 default distpath {[file join $portdbpath distfiles]}
 default workpath {[getportworkpath_from_buildpath $portbuildpath]}
 default worksymlink {[file join $portpath work]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081021/ad3bc7b7/attachment.html 


More information about the macports-changes mailing list