summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
committerru <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
commit388e590f951441f619cd32710dc151e0ac810a10 (patch)
tree801e953598fc63a37f62cf997017301675552fe9 /usr.sbin/ppp
parenta251964eaca5833ff2c4651fe4f7f8cac7199da5 (diff)
downloadFreeBSD-src-388e590f951441f619cd32710dc151e0ac810a10.zip
FreeBSD-src-388e590f951441f619cd32710dc151e0ac810a10.tar.gz
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index 007e5e1..ea8a462 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= ppp
MAN= ppp.8
SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
@@ -21,13 +23,13 @@ PPP_NO_RADIUS=
PPP_NO_SUID=
.endif
-.if defined(NO_ATM)
+.if ${MK_ATM} == "no"
PPP_NO_ATM=
.endif
-.if defined(NO_I4B)
+.if ${MK_I4B} == "no"
PPP_NO_I4B=
.endif
-.if defined(NO_PAM)
+.if ${MK_PAM_SUPPORT} == "no"
PPP_NO_PAM=
.endif
@@ -58,7 +60,7 @@ CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
CFLAGS+=-DNOKLDLOAD
.endif
-.if defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} == "no"
CFLAGS+=-DNOINET6
.endif
@@ -82,7 +84,7 @@ CFLAGS+=-DNOSUID
SRCS+= id.c
.endif
-.if defined(RELEASE_CRUNCH) || defined(NO_CRYPT) || defined(NO_OPENSSL) || \
+.if defined(RELEASE_CRUNCH) || ${MK_OPENSSL} == "no" || \
defined(PPP_NO_DES)
CFLAGS+=-DNODES
.else
OpenPOWER on IntegriCloud