On Oct 19, 2011, at 18:31, [email protected] wrote: > Revision: 86145 > http://trac.macports.org/changeset/86145 > Author: [email protected] > 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. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
