summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-03-23 11:43:22 +0000
committerbrian <brian@FreeBSD.org>2001-03-23 11:43:22 +0000
commit13caec0c3d1c54cf40f76cf76029abcba9a66bb5 (patch)
treeb0f2f1f84e592340dac752c6815caabc57501f9f /usr.sbin/ppp/Makefile
parent3f5bbae0c4035dc8b5339fcc37cee61d1ae84e19 (diff)
downloadFreeBSD-src-13caec0c3d1c54cf40f76cf76029abcba9a66bb5.zip
FreeBSD-src-13caec0c3d1c54cf40f76cf76029abcba9a66bb5.tar.gz
Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile time
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index 140a6a2..c10dc7f 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -22,6 +22,10 @@ BINGRP= network
CFLAGS+=-DRELEASE_CRUNCH
.endif
+.if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
+CFLAGS+=-DPPP_CONFDIR=${PPP_CONFDIR}
+.endif
+
.if defined(NOKLDLOAD)
CFLAGS+=-DNOKLDLOAD
.endif
OpenPOWER on IntegriCloud