[43649] trunk/dports/x11/gtk2/Portfile
Rainer Müller
raimue at macports.org
Fri Dec 12 14:56:12 PST 2008
jeremyhu at macports.org wrote:
> Revision
> 43649 <http://trac.macports.org/changeset/43649>
> Author
> jeremyhu at macports.org
> Date
> 2008-12-12 14:52:30 -0800 (Fri, 12 Dec 2008)
>
>
> Log Message
>
> gtk2: Reduce the gtk2 X11 dependencies since some of them are actually optional... Maybe we shold make some variants for the optional X11 extensions?
>
>
> Modified Paths
>
> * trunk/dports/x11/gtk2/Portfile <#trunkdportsx11gtk2Portfile>
>
>
> Diff
>
>
> Modified: trunk/dports/x11/gtk2/Portfile (43648 => 43649)
>
>
> --- trunk/dports/x11/gtk2/Portfile 2008-12-12 22:51:49 UTC (rev 43648)
> +++ trunk/dports/x11/gtk2/Portfile 2008-12-12 22:52:30 UTC (rev 43649)
> @@ -130,11 +130,15 @@
>
> variant x11 conflicts quartz description {Enable rendering in X11 (default)} {
> depends_lib-append \
> - lib:libXrandr.2:xorg-libXrandr \
> - lib:libXcursor.1:xorg-libXcursor \
> - lib:libXfixes.3:xorg-libXfixes \
> lib:libXi.6:xorg-libXi
>
> + # These are optional dependencies... variants?
> + #lib:libXrandr.2:xorg-libXrandr \
> + #lib:libXcursor.1:xorg-libXcursor \
> + #lib:libXdamage.1:xorg-libXdamage \
> + #lib:libXcomposite.1:xorg-libXcomposite \
> + #lib:libXfixes.3:xorg-libXfixes \
> +
> configure.args-append --with-xinput
> }
Will these libraries automatically be used when available? If so, we
either need to specify --without-foo or if that is not possible, include
them by default. Otherwise dependencies will not be correct in the
registry and ports can break when other ports are
deactivated/uninstalled, because no dependency was registered.
Rainer
More information about the macports-dev
mailing list