2001-03-12 10:07:25 -05:00
|
|
|
$OpenBSD: patch-Makefile,v 1.2 2001/03/12 15:07:25 wilfried Exp $
|
|
|
|
--- Makefile.orig Sat Aug 24 01:46:42 1996
|
|
|
|
+++ Makefile Mon Mar 12 16:07:14 2001
|
|
|
|
@@ -23,8 +23,6 @@ DESTROOT =
|
|
|
|
DESTPATH = $(DESTROOT)/usr/local/rtty
|
|
|
|
DESTBIN = $(DESTPATH)/bin
|
|
|
|
|
|
|
|
-CC = cc
|
|
|
|
-CDEBUG = -O -g
|
|
|
|
#
|
|
|
|
# use -U to undefine, -D to define
|
|
|
|
# DEBUG include code to help debug this software
|
|
|
|
@@ -38,7 +36,7 @@ CDEBUG = -O -g
|
|
|
|
CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNEED_INET_ATON \
|
|
|
|
-UNO_SOCKADDR_LEN -UNO_HSTRERROR
|
|
|
|
#
|
|
|
|
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
|
|
|
|
+CFLAGS += $(CDEFS)
|
|
|
|
LIBS =
|
|
|
|
#(if WANT_TCPIP defined and this isn't in your libc)
|
|
|
|
# -lresolv
|
|
|
|
@@ -63,7 +61,7 @@ install: $(ALL) Makefile
|
2000-06-09 18:20:58 -04:00
|
|
|
test -d $(DESTPATH)/$$x || mkdir $(DESTPATH)/$$x; \
|
|
|
|
done
|
|
|
|
set -x; for x in $(BINARY); do \
|
|
|
|
- install -c -m 111 $$x $(DESTBIN)/$$x; \
|
|
|
|
+ install -c -m 555 $$x $(DESTBIN)/$$x; \
|
|
|
|
done
|
|
|
|
set -x; for x in $(SCRIPT); do \
|
|
|
|
install -c -m 555 $$x $(DESTBIN)/$$x; \
|