Revision: 74242 http://trac.macports.org/changeset/74242 Author: devans@macports.org Date: 2010-12-08 12:35:16 -0800 (Wed, 08 Dec 2010) Log Message: ----------- gnome-games: on darwin 8 (tiger) disable games that depend on clutter-gtk and ultimately mesa which does not currently support this platform. Modified Paths: -------------- trunk/dports/gnome/gnome-games/Portfile Modified: trunk/dports/gnome/gnome-games/Portfile =================================================================== --- trunk/dports/gnome/gnome-games/Portfile 2010-12-08 20:26:30 UTC (rev 74241) +++ trunk/dports/gnome/gnome-games/Portfile 2010-12-08 20:35:16 UTC (rev 74242) @@ -41,10 +41,18 @@ configure.args --disable-scrollkeeper \ --disable-schemas-install \ - --disable-tests \ --disable-silent-rules \ --disable-introspection +# +# mesa does not support darwin 8 (Tiger) so omit games that use its dependent clutter-gtk +# + +if { ${os.major} < 9 } { + depends_lib-delete port:clutter-gtk + configure.args-append --enable-omitgames=quadrapassel,lightsoff,swell-foop,gnibbles +} + post-patch { reinplace "s|/usr/bin/env python|${configure.python}|" ${worksrcpath}/glchess/src/glchess.in.in reinplace "s|/usr/bin/env python|${configure.python}|" ${worksrcpath}/gnome-sudoku/src/gnome-sudoku.in.in