[74242] trunk/dports/gnome/gnome-games/Portfile
devans at macports.org
devans at macports.org
Wed Dec 8 12:35:21 PST 2010
Revision: 74242
http://trac.macports.org/changeset/74242
Author: devans at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101208/d6741f96/attachment.html>
More information about the macports-changes
mailing list