summaryrefslogtreecommitdiffstats
path: root/games/gnome-games/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnome-games/files')
-rw-r--r--games/gnome-games/files/patch-ab23
-rw-r--r--games/gnome-games/files/patch-mahjongg_Makefile.in10
2 files changed, 10 insertions, 23 deletions
diff --git a/games/gnome-games/files/patch-ab b/games/gnome-games/files/patch-ab
index 0075d0dd4..67cea1ce8 100644
--- a/games/gnome-games/files/patch-ab
+++ b/games/gnome-games/files/patch-ab
@@ -1,24 +1,11 @@
---- gnome-stones/objects/Makefile.in.orig Wed Aug 28 22:11:08 2002
-+++ gnome-stones/objects/Makefile.in Wed Aug 28 23:17:53 2002
-@@ -133,7 +133,7 @@
+--- gnome-stones/objects/Makefile.in.orig Sun Jun 15 20:28:06 2003
++++ gnome-stones/objects/Makefile.in Sun Jun 15 20:28:06 2003
+@@ -136,7 +136,7 @@
GSTONES_SRC_DIR = $(srcdir)/../
-objectdir = $(libdir)/gnome-stones/objects
+objectdir = $(datadir)/gnome-stones/objects
- INCLUDES = -I$(GSTONES_SRC_DIR) $(GNOME_GAMES_CFLAGS) -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I$(includedir) -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
-
-@@ -150,10 +150,10 @@
-
- DEFS = @DEFS@ -I. -I$(srcdir) -I../..
- LIBS = @LIBS@
--libgnome_stones_la_LDFLAGS =
-+libgnome_stones_la_LDFLAGS = -avoid-version
- libgnome_stones_la_LIBADD =
- libgnome_stones_la_OBJECTS = gnome-stones.lo
--libgnomekoban_la_LDFLAGS =
-+libgnomekoban_la_LDFLAGS = -avoid-version
- libgnomekoban_la_LIBADD =
- libgnomekoban_la_OBJECTS = gnomekoban.lo
- COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ INCLUDES = \
+ -I$(GSTONES_SRC_DIR) \
diff --git a/games/gnome-games/files/patch-mahjongg_Makefile.in b/games/gnome-games/files/patch-mahjongg_Makefile.in
index 917c74206..b6977a948 100644
--- a/games/gnome-games/files/patch-mahjongg_Makefile.in
+++ b/games/gnome-games/files/patch-mahjongg_Makefile.in
@@ -1,11 +1,11 @@
---- mahjongg/Makefile.in.orig Sun Jan 19 14:54:47 2003
-+++ mahjongg/Makefile.in Sun Jan 19 14:56:21 2003
-@@ -593,9 +593,12 @@
+--- mahjongg/Makefile.in.orig Sun Jun 15 20:31:43 2003
++++ mahjongg/Makefile.in Sun Jun 15 23:49:44 2003
+@@ -615,9 +615,12 @@
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
$(mkinstalldirs) $(DESTDIR)$(bgdir)
- touch $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
-- -chown games.games $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
+- -chown $(scores_user).$(scores_group) $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
- -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
+ touch $(DESTDIR)$(scoredir)/mahjongg.easy.scores
+ touch $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
@@ -13,6 +13,6 @@
+ -chown games:games $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
+ -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.easy.scores
+ -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
- -chgrp games $(DESTDIR)$(bindir)/mahjongg && chmod 2555 $(DESTDIR)$(bindir)/mahjongg
+ -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/mahjongg && chmod 2555 $(DESTDIR)$(bindir)/mahjongg ; fi
$(mkinstalldirs) $(DESTDIR)$(Gamesdir)