1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/japanese/okphone/files/patch-ab

29 lines
729 B
Plaintext
Raw Normal View History

--- ./client/Makefile.org Wed Feb 7 18:45:34 1996
+++ ./client/Makefile Wed Feb 7 18:45:36 1996
@@ -20,14 +20,14 @@
CC = cc
#CFLAGS = -O -DSERVICES -DLOCAL_ECHO
#CFLAGS = -g -DSERVICES -DLOCAL_ECHO
-CFLAGS = -Isw -O -DSERVICES -DLOCAL_ECHO
+CFLAGS += -Isw -O -DSERVICES -DLOCAL_ECHO
#LIBS = -lcurses -ltermlib #-lresolv
LIBS = sw/libsw.a -ltermlib -ll
LPR = lpr -Psony
#RDEST = /usr/ucb/phone
#RDEST = /usr/local/phone
-RDEST = /usr/local/bin/phone
+RDEST = ${PREFIX}/bin/phone
HDRS = defs.h
@@ -69,7 +69,7 @@
install: ${DEST}
/bin/rm -f ${RDEST}
- cp ${DEST} ${RDEST}
+ install -cs -m 755 -o bin -g bin ${DEST} ${RDEST}
print: ${HDRS} ${SRCS}
pr -f ${HDRS} ${SRCS} | expand -4 | ${LPR}