summaryrefslogtreecommitdiff
path: root/games/xconq/files/patch-ad
blob: 97b743d876ac1df07a6bde12598c56fa39ffa283 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- Makefile.in.orig	Tue Aug 22 07:52:56 2000
+++ Makefile.in	Sat Dec 30 04:02:02 2000
@@ -27,12 +27,12 @@
 srcdir = @srcdir@
 VPATH = @srcdir@
 
-GAMEUID = games
-GAMEGRP = bin
+GAMEUID = root
+GAMEGRP = games
 
-GAMEPERM = 04755
-DIRPERM  = 0755
-FILEPERM = 0644
+GAMEPERM = 02755
+DIRPERM  = 0775
+FILEPERM = 0664
 
 SHELL = /bin/sh
 
@@ -46,8 +46,6 @@
 
 CC = @CC@
 
-CFLAGS = -g
-
 RANLIB = ranlib
 
 AR = ar
@@ -254,10 +252,8 @@
 install-dirs:
 	@for i in $(MAKEDIRS) ; do \
 		echo Making $$i... ; \
-		parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$$@/@'`; \
-		if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
 		if [ ! -d $$i ] ; then \
-			if mkdir $$i ; then \
+			if mkdir -p $$i ; then \
 				true ; \
 			else \
 				exit 1 ; \