From 388e590f951441f619cd32710dc151e0ac810a10 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 17 Mar 2006 18:54:44 +0000 Subject: 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) --- usr.sbin/ppp/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'usr.sbin/ppp') 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 + 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 -- cgit v1.1