summaryrefslogtreecommitdiff
path: root/games/xgalaga/patches/patch-aa
blob: 6a5a6658141b71de23a60e8b7cab0eccd78d7b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:44 agc Exp $

--- Makefile.in.orig	Sun May 10 23:52:59 1998
+++ Makefile.in	Fri Jul 31 02:26:57 1998
@@ -27,3 +27,3 @@
 CFLAGS = -I. @CFLAGS@ @DEFS@ @X_CFLAGS@ -DXGALAGADIR=\"@prefix@/\" $(SOUNDDEFS)
-LDFLAGS = @LDFLAGS@
+LDFLAGS = -Wl,-R$(X11BASE)/lib @LDFLAGS@
 LIBS = @LIBS@ libsprite/libsprite.a @X_LIBS@
@@ -47,4 +47,3 @@
 	./mkinstalldirs $(prefix)
-	$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
-	$(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
+	$(INSTALL) $(SOUNDSRV) $(TARGET) $(bindir)/
 	./mkinstalldirs $(prefix)/sounds
@@ -54,3 +53,6 @@
 	touch $(prefix)/scores
-	chmod 666 $(prefix)/scores
+	chown bin:games $(prefix)/scores
+	chown bin:games $(bindir)/$(TARGET)
+	chmod 2755 $(bindir)/$(TARGET)
+	chmod 664 $(prefix)/scores