$OpenBSD: patch-Makefile,v 1.3 2002/05/08 18:42:10 millert Exp $
--- Makefile.orig	Wed May  8 12:30:37 2002
+++ Makefile	Wed May  8 12:30:37 2002
@@ -23,8 +23,6 @@ DESTROOT =
 DESTPATH = $(DESTROOT)/usr/local/rtty
 DESTBIN = $(DESTPATH)/bin
 
-#CC = cc
-CDEBUG = -O
 #
 # use -U to undefine, -D to define
 #	DEBUG		include code to help debug this software
@@ -37,8 +35,7 @@ CDEBUG = -O
 CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_INET_ATON \
 	-UNO_SOCKADDR_LEN -UNO_HSTRERROR
 #
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
-LIBS = -lcrypt
+CFLAGS += $(CDEFS)
 #(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)
@@ -64,7 +61,7 @@ install: $(ALL) Makefile
 		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; \
