openbsd-ports/sysutils/rtty/patches/patch-Makefile
2001-03-12 15:07:25 +00:00

31 lines
966 B
Plaintext

$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
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; \