Skip site navigation (1)Skip section navigation (2)
Date:      19 Jan 2003 15:06:34 +0100
From:      Franz Klammer <klammer@webonaut.com>
To:        gnome@freebsd.org
Subject:   gnomegames2-2.1.5: mahjongg scores-files
Message-ID:  <1042985194.29053.16.camel@ds9.webonaut.com>

next in thread | raw e-mail | index | archive | help

--=-+GQYs3R7UlUFQZymC8k7
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

hello!

mahjongg/Makefile does a 
touch $(DESTDIR)$(scoredir)/mahjongg.{easy,difficult}.scores.
this does not work with sh only with csh and bash.

attached my patch.

franz.

-- 

--=-+GQYs3R7UlUFQZymC8k7
Content-Disposition: attachment; filename=patch-mahjongg-Makefile.in.diff
Content-Type: text/x-makefile; name=patch-mahjongg-Makefile.in.diff; charset=ISO8859-1
Content-Transfer-Encoding: 7bit

--- mahjongg/Makefile.in.org	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)
 

--=-+GQYs3R7UlUFQZymC8k7--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1042985194.29053.16.camel>