[82386] trunk/dports/_resources/port1.0/group/python-1.0.tcl
jmr at macports.org
jmr at macports.org
Fri Aug 12 17:24:34 PDT 2011
Revision: 82386
http://trac.macports.org/changeset/82386
Author: jmr at macports.org
Date: 2011-08-12 17:24:32 -0700 (Fri, 12 Aug 2011)
Log Message:
-----------
python portgroup: be less clever in checking if a stub should be set up; this way setting default_version before versions works
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/python-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/python-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python-1.0.tcl 2011-08-13 00:13:37 UTC (rev 82385)
+++ trunk/dports/_resources/port1.0/group/python-1.0.tcl 2011-08-13 00:24:32 UTC (rev 82386)
@@ -80,8 +80,7 @@
foreach v [option $option] {
subport py${v}[string trimleft $name py] { depends_lib port:python${v} }
}
- # check if none of the subport blocks was executed
- if {![exists depends_lib]} {
+ if {$subport == $name || $subport == ""} {
# set up py-foo as a stub port that depends on the default pyXY-foo
distfiles
supported_archs noarch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110812/06325605/attachment.html>
More information about the macports-changes
mailing list