[57443] users/toby/objcports
toby at macports.org
toby at macports.org
Fri Sep 11 00:14:10 PDT 2009
Revision: 57443
http://trac.macports.org/changeset/57443
Author: toby at macports.org
Date: 2009-09-11 00:14:05 -0700 (Fri, 11 Sep 2009)
Log Message:
-----------
fixes
Modified Paths:
--------------
users/toby/objcports/MPPort.c
users/toby/objcports/variables.plist
Modified: users/toby/objcports/MPPort.c
===================================================================
--- users/toby/objcports/MPPort.c 2009-09-11 07:02:36 UTC (rev 57442)
+++ users/toby/objcports/MPPort.c 2009-09-11 07:14:05 UTC (rev 57443)
@@ -357,11 +357,8 @@
CFArrayRef vars;
vars = mp_port_variables(port);
CFArrayApplyBlock2(vars, ^(const void *var) {
- CFNumberRef constant = CFDictionaryGetValue(CFDictionaryGetValue(port->_variableInfo, var), kPortVariableConstant);
- CFIndex b = 0;
- if (constant) CFNumberGetValue(constant, kCFNumberCFIndexType, &b);
-
- if (constant == NULL || b == 0) {
+ CFBooleanRef constant = CFDictionaryGetValue(CFDictionaryGetValue(port->_variableInfo, var), kPortVariableConstant);
+ if (constant == NULL || constant != kCFBooleanTrue) {
CFArrayAppendValue(ret, var);
}
});
Modified: users/toby/objcports/variables.plist
===================================================================
--- users/toby/objcports/variables.plist 2009-09-11 07:02:36 UTC (rev 57442)
+++ users/toby/objcports/variables.plist 2009-09-11 07:14:05 UTC (rev 57443)
@@ -253,8 +253,6 @@
<key>Default</key>
<string>unknown</string>
</dict>
- <key>livecheck.check</key>
- <dict/>
<key>livecheck.distname</key>
<dict/>
<key>livecheck.md5</key>
@@ -263,6 +261,8 @@
<dict/>
<key>livecheck.regex</key>
<dict/>
+ <key>livecheck.type</key>
+ <dict/>
<key>livecheck.url</key>
<dict/>
<key>livecheck.version</key>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090911/b721d64a/attachment.html>
More information about the macports-changes
mailing list