summaryrefslogtreecommitdiffstats
path: root/japanese/okphone/files/patch-ac
blob: 6f922dfb3a415d6f7d590f52bc1ea42cc0762de4 (plain)
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
--- ./master/Makefile.org	Wed Feb  7 18:45:36 1996
+++ ./master/Makefile	Wed Feb  7 18:45:36 1996
@@ -29,7 +29,7 @@
 #CFLAGS = -O -DSERVICES -DDPATH=\"$(CONVD)\" -DFORK
 #CFLAGS = -O -DINETD -DDPATH=\"$(CONVD)\"
 #CFLAGS = -O -DINETD -DDPATH=\"$(CONVD)\" -DSERVICES
-CFLAGS  = $(OFLAG) $(INETD) -DFORK -DSERVICES -DDPATH=\"/usr/local/etc/convd\"
+CFLAGS  += $(OFLAGS) $(INETD) -DFORK -DSERVICES -DDPATH=\"${PREFIX}/libexec/convd\"
 
 LPR     = lpr -Psony
 CC	= cc
@@ -44,7 +44,7 @@
 			reinvite.o strsave.o utmp.o
 
 DEST	= phoned
-RDEST	= /usr/local/etc/in.phoned
+RDEST	= ${PREFIX}/libexec/phoned
 #RDEST	= /etc/phoned
 
 
@@ -61,7 +61,7 @@
 
 install:	${DEST}
 	/bin/rm -f ${RDEST}
-	cp ${DEST} ${RDEST}
+	install -cs -m 755 -o bin -g bin ${DEST} ${RDEST}
 
 clean:
 	/bin/rm -f ${DEST} core *.o
OpenPOWER on IntegriCloud