aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rtty/files/patch-aa
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-24 05:56:00 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-24 05:56:00 +0000
commit722512b0c3f5b51cec0e825b52cb8884f75fb415 (patch)
tree0c85e9bbd081a018291c25ddd311c6f022cb6331 /sysutils/rtty/files/patch-aa
parent46641840662335b088d487c22eb9a763dd79141d (diff)
downloadports-722512b0c3f5b51cec0e825b52cb8884f75fb415.tar.gz
ports-722512b0c3f5b51cec0e825b52cb8884f75fb415.zip
Notes
Diffstat (limited to 'sysutils/rtty/files/patch-aa')
-rw-r--r--sysutils/rtty/files/patch-aa32
1 files changed, 29 insertions, 3 deletions
diff --git a/sysutils/rtty/files/patch-aa b/sysutils/rtty/files/patch-aa
index 79fd83320fcf..6fbb161fcf3b 100644
--- a/sysutils/rtty/files/patch-aa
+++ b/sysutils/rtty/files/patch-aa
@@ -1,13 +1,39 @@
---- Makefile.orig Fri Aug 23 16:46:42 1996
-+++ Makefile Sat Aug 24 02:14:12 1996
+--- Makefile.orig Sat Aug 24 08:46:42 1996
++++ Makefile Fri Jan 21 23:09:45 2000
+@@ -19,12 +19,12 @@
+
+ VPATH = ../src
+
+-DESTROOT =
+-DESTPATH = $(DESTROOT)/usr/local/rtty
++DESTROOT = ${PREFIX}
++DESTPATH = $(DESTROOT)/rtty
+ DESTBIN = $(DESTPATH)/bin
+
+-CC = cc
+-CDEBUG = -O -g
++CC ?= cc
++#CDEBUG = -O -g
+ #
+ # use -U to undefine, -D to define
+ # DEBUG include code to help debug this software
@@ -38,8 +38,8 @@
CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNEED_INET_ATON \
-UNO_SOCKADDR_LEN -UNO_HSTRERROR
#
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
-LIBS =
-+CFLAGS = $(CDEBUG) $(CDEFS)
++CFLAGS += $(CDEBUG) $(CDEFS)
+LIBS = -lcrypt
#(if WANT_TCPIP defined and this isn't in your libc)
# -lresolv
#(if the resolver needs it, which BIND>=4.9's will on BSD>=4.4 systems)
+@@ -63,7 +63,7 @@
+ test -d $(DESTPATH)/$$x || mkdir $(DESTPATH)/$$x; \
+ done
+ set -x; for x in $(BINARY); do \
+- install -c -m 111 $$x $(DESTBIN)/$$x; \
++ install -c -s -m 111 $$x $(DESTBIN)/$$x; \
+ done
+ set -x; for x in $(SCRIPT); do \
+ install -c -m 555 $$x $(DESTBIN)/$$x; \