summaryrefslogtreecommitdiffstats
path: root/games/gnomegames2/files/patch-mahjongg_Makefile.in
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-20 04:26:50 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-20 04:26:50 +0800
commit28e8b6e4ba04ea94c55c86068fd699c10e1989f5 (patch)
tree55387db0c0ddcf69c7673a6720c310fe2809db64 /games/gnomegames2/files/patch-mahjongg_Makefile.in
parente54ce0735eedf188af5dddc373b5b4023862abc6 (diff)
downloadmarcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.gz
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.bz2
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.lz
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.xz
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.tar.zst
marcuscom-ports-28e8b6e4ba04ea94c55c86068fd699c10e1989f5.zip
Make sure the mahjongg score files get created.
Submitted by: Franz Klammer <klammer@webonaut.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@403 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnomegames2/files/patch-mahjongg_Makefile.in')
-rw-r--r--games/gnomegames2/files/patch-mahjongg_Makefile.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/gnomegames2/files/patch-mahjongg_Makefile.in b/games/gnomegames2/files/patch-mahjongg_Makefile.in
new file mode 100644
index 000000000..c8d40ce2c
--- /dev/null
+++ b/games/gnomegames2/files/patch-mahjongg_Makefile.in
@@ -0,0 +1,18 @@
+--- 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 @@
+ 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
+- -chmod 664 $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores
++ touch $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ touch $(DESTDIR)$(scoredir)/mahjongg.difficult.scores
++ -chown games.games $(DESTDIR)$(scoredir)/mahjongg.easy.scores
++ -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
+ $(mkinstalldirs) $(DESTDIR)$(Gamesdir)
+