diff options
Diffstat (limited to 'net/pppd/patches/patch-ab')
-rw-r--r-- | net/pppd/patches/patch-ab | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/pppd/patches/patch-ab b/net/pppd/patches/patch-ab new file mode 100644 index 00000000000..1e0f5a62092 --- /dev/null +++ b/net/pppd/patches/patch-ab @@ -0,0 +1,34 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/01/02 02:51:41 cube Exp $ + +--- chat/Makefile.netbsd.orig 2004-12-31 23:50:59.000000000 +0100 ++++ chat/Makefile.netbsd +@@ -0,0 +1,29 @@ ++DESTDIR = @DESTDIR@ ++BINDIR = $(DESTDIR)/sbin ++MANDIR = $(DESTDIR)/man/man8 ++ ++CDEF1= -DTERMIOS # Use the termios structure ++CDEF2= -DSIGTYPE=void # Standard definition ++CDEF3= -DHAS_STRLFUNCS # strlcat and strlcpy ++CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) ++ ++COPTS= -O2 -g -pipe ++CFLAGS= $(COPTS) $(CDEFS) ++ ++INSTALL= install ++ ++all: chat ++ ++chat: chat.o ++ $(CC) -o chat chat.o ++ ++chat.o: chat.c ++ $(CC) -c $(CFLAGS) -o chat.o chat.c ++ ++install: chat ++ mkdir -p $(BINDIR) ++ $(INSTALL) -s -c chat $(BINDIR) ++ $(INSTALL) -c -m 644 chat.8 $(MANDIR) ++ ++clean: ++ rm -f chat.o chat *~ |