summaryrefslogtreecommitdiff
path: root/games/lbreakout/patches/patch-ab
blob: 8b618d89d79abd12928942d10bc765dc782f6dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.2 2001/08/15 19:41:45 rh Exp $

--- lbreakout/Makefile.in.orig	Tue Aug 14 20:05:31 2001
+++ lbreakout/Makefile.in	Tue Aug 14 20:06:06 2001
@@ -353,7 +353,8 @@
 	$(INSTALL_DATA) wontgiveup.wav $(DESTDIR)$(sdir)/wontgiveup.wav 
 	$(INSTALL_DATA) speedup.wav $(DESTDIR)$(sdir)/speedup.wav 
 	$(INSTALL_DATA) speeddown.wav $(DESTDIR)$(sdir)/speeddown.wav
-	$(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr
+	$(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(sdir)/lbreakout.hscr
+	[ -f $(DESTDIR)$(hdir)/lbreakout.hscr ] || $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr
 
 uninstall-local:
 	rm -fr $(DESTDIR)$(sdir)