[86145] trunk/dports/kde/kstars/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Oct 19 18:15:40 PDT 2011


On Oct 19, 2011, at 18:31, nicos at macports.org wrote:

> Revision: 86145
>          http://trac.macports.org/changeset/86145
> Author:   nicos at macports.org
> Date:     2011-10-19 16:31:10 -0700 (Wed, 19 Oct 2011)
> Log Message:
> -----------
> kstars: adding no_x11 variant
> 
> Modified Paths:
> --------------
>    trunk/dports/kde/kstars/Portfile
> 
> Modified: trunk/dports/kde/kstars/Portfile
> ===================================================================
> --- trunk/dports/kde/kstars/Portfile	2011-10-19 22:44:20 UTC (rev 86144)
> +++ trunk/dports/kde/kstars/Portfile	2011-10-19 23:31:10 UTC (rev 86145)
> @@ -33,6 +33,10 @@
> 
> patchfiles          patch-CMakeLists.txt.diff
> 
> +variant no_x11 description "Suppresses X11 dependencies" {
> +    depends_lib-delete  port:xplanet
> +}

Just deleting the dependency is probably not sufficient. You also need to ensure that the dependency doesn't get used, even if it is already installed.

Furthermore, "no_" variants are deprecated; these days, it should be an "x11" variant, that adds the dependency, and is enabled by default.





More information about the macports-dev mailing list