[43649] trunk/dports/x11/gtk2/Portfile
Jeremy Huddleston
jeremyhu at macports.org
Fri Dec 12 15:11:24 PST 2008
On Dec 12, 2008, at 14:56, Rainer Müller wrote:
>> --- 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?
Yeah, they'll be used based on 'pkg-config --exists foo'
http://git.testbit.eu/Gtk/tree/configure.in
1541 if $PKG_CONFIG --exists "xrandr >= 1.2" ; then
1542 AC_DEFINE(HAVE_RANDR, 1, [Have the Xrandr extension library])
1543
1544 X_PACKAGES="$X_PACKAGES xrandr"
1545 fi
> If so, we
> either need to specify --without-foo or if that is not possible,
It's not =/
> include
> them by default.
ugg... ok.
> Otherwise dependencies will not be correct in the
> registry and ports can break when other ports are
> deactivated/uninstalled, because no dependency was registered.
More information about the macports-dev
mailing list