1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net/pppd23/files/patch-aa
Kirill Ponomarev 2079aaa72f Fix build on 6-x
Submitted by:	maintainer
2004-08-21 08:05:14 +00:00

86 lines
2.5 KiB
Plaintext

diff -rNu ../../0/ppp-2.3.11/chat/Makefile.bsd ./chat/Makefile.bsd
--- ../../0/ppp-2.3.11/chat/Makefile.bsd Tue Oct 8 07:37:59 1996
+++ ./chat/Makefile.bsd Sat Apr 10 16:41:44 2004
@@ -3,7 +3,6 @@
PROG= chat
SRCS= chat.c
MAN8= chat.8
-MAN= chat.cat8
BINDIR= /usr/sbin
.include <bsd.prog.mk>
diff -rNu ../../0/ppp-2.3.11/configure ./configure
--- ../../0/ppp-2.3.11/configure Mon Nov 15 03:56:26 1999
+++ ./configure Sat Apr 10 16:41:44 2004
@@ -59,7 +59,7 @@
2.[01]*) state="known"; ksrc="freebsd-2.0";;
2.2.[2-7]*) state="late"; ksrc="freebsd-2.0";;
2.2.8*) state="known"; ksrc="freebsd-2.2.8";;
- 3.[0-1]*) state="known"; ksrc="freebsd-3.0";;
+ *) state="known"; ksrc="freebsd-3.0";;
esac;;
NeXTStep)
makext="NeXT";
diff -rNu ../../0/ppp-2.3.11/freebsd-3.0/Makefile.top ./freebsd-3.0/Makefile.top
--- ../../0/ppp-2.3.11/freebsd-3.0/Makefile.top Wed May 12 13:05:47 1999
+++ ./freebsd-3.0/Makefile.top Sat Apr 10 16:41:44 2004
@@ -2,10 +2,19 @@
# ppp top level makefile for *bsd systems
#
+.if defined(PREFIX)
+.if $(PREFIX) == "/usr"
+MANDIR=/usr/share/man/man
+.else
+MANDIR=$(PREFIX)/man/man
+.endif
+BINDIR?= $(PREFIX)/sbin
+.else
BINDIR?= /usr/sbin
+.endif
SUBDIR= chat pppd pppstats
-MAKE+= BINDIR=$(BINDIR)
+MAKE+= BINDIR=$(BINDIR) MANDIR=$(MANDIR)
kernel:
@sh -e freebsd-3.0/kinstall.sh
diff -rNu ../../0/ppp-2.3.11/pppd/Makefile.bsd ./pppd/Makefile.bsd
--- ../../0/ppp-2.3.11/pppd/Makefile.bsd Mon Apr 12 09:23:30 1999
+++ ./pppd/Makefile.bsd Sat Apr 10 16:42:06 2004
@@ -9,10 +9,10 @@
PROG= pppd
SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
demand.c auth.c options.c utils.c sys-bsd.c
-MAN= pppd.cat8
MAN8= pppd.8
-BINMODE=4555
+BINMODE=4550
BINOWN= root
+BINGRP= dialer
LDADD= -lcrypt -lutil
DPADD= ${LIBCRYPT} ${LIBUTIL}
diff -rNu ../../0/ppp-2.3.11/pppd/sys-bsd.c ./pppd/sys-bsd.c
--- ../../0/ppp-2.3.11/pppd/sys-bsd.c Tue Aug 24 08:25:54 1999
+++ ./pppd/sys-bsd.c Sat Apr 10 16:41:44 2004
@@ -22,7 +22,6 @@
#define RCSID "$Id: sys-bsd.c,v 1.46 1999/08/13 06:46:18 paulus Exp $"
/* $NetBSD: sys-bsd.c,v 1.1.1.3 1997/09/26 18:53:04 christos Exp $ */
-#endif
/*
* TODO:
diff -rNu ../../0/ppp-2.3.11/pppstats/Makefile.bsd ./pppstats/Makefile.bsd
--- ../../0/ppp-2.3.11/pppstats/Makefile.bsd Wed Mar 25 04:21:17 1998
+++ ./pppstats/Makefile.bsd Sat Apr 10 16:41:44 2004
@@ -4,7 +4,6 @@
SRCS= pppstats.c
CFLAGS+=-I../include -D_BITYPES
MAN8= pppstats.8
-MAN= pppstats.cat8
BINDIR= /usr/sbin
.include <bsd.prog.mk>