[118513] trunk/dports/devel/dbus

Clemens Lang cal at macports.org
Thu Apr 3 15:22:05 PDT 2014


Hi,

> I see your point.
> I would be happy to remove it if such warnings are distracting and/or
> unhelpful.

You don't have to take my word for it:
 https://lists.macosforge.org/pipermail/macports-users/2014-April/035084.html

> Does
>            if {[variant_isset startupitem]}
> ever return true if there is NO
>            variant startupitem {
> ?

Yes, it does:

$> cat Portfile
PortSystem          1.0

name                PortName
version             PortVersion
maintainers         MaintainerHandle

categories          Categories
description         Description
long_description    LongDescription

platforms           Platforms

homepage            Homepage

if {[variant_isset foobar]} {
    ui_msg "+foobar!"
}

$> port variants +foobar
+foobar!
PortName has the variants:
   universal: Build for multiple architectures

I actually think this is a mis-feature, but it's not trivially solvable
and I haven't thought of a good solution I'd implement yet.

-- 
Clemens Lang


More information about the macports-dev mailing list