summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-02-04 06:53:45 +0000
committerngie <ngie@FreeBSD.org>2015-02-04 06:53:45 +0000
commitc15561b95df1328a7256de3d0bd80389501ce03f (patch)
tree13a99d0de7b9fe7dc568cca539171da6aa1a82b0 /lib/Makefile
parent79fa39eaca5ccc1c01787e5bf4b8262e1dd9efef (diff)
downloadFreeBSD-src-c15561b95df1328a7256de3d0bd80389501ce03f.zip
FreeBSD-src-c15561b95df1328a7256de3d0bd80389501ce03f.tar.gz
Conditionalize building radius support into libpam, ppp, etc via
MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 90e217e..cd0f4a1 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -82,7 +82,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
${_libpmc} \
${_libproc} \
libprocstat \
- libradius \
+ ${_libradius} \
librpcsvc \
librt \
${_librtld_db} \
@@ -142,7 +142,7 @@ SUBDIR_DEPEND_liblibrpcsec_gss= libgssapi
SUBDIR_DEPEND_libmagic= libz
SUBDIR_DEPEND_libmemstat= libkvm
SUBDIR_DEPEND_libopie= libmd
-SUBDIR_DEPEND_libpam= libcrypt libopie libradius librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err}
+SUBDIR_DEPEND_libpam= libcrypt libopie ${_libradius} librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err}
SUBDIR_DEPEND_libpjdlog= libutil
SUBDIR_DEPEND_libprocstat= libkvm libutil
SUBDIR_DEPEND_libradius= libmd
@@ -286,6 +286,10 @@ _libmp= libmp
_libpmc= libpmc
.endif
+.if ${MK_RADIUS_SUPPORT} != "no"
+_libradius= libradius
+.endif
+
.if ${MK_SENDMAIL} != "no"
_libmilter= libmilter
_libsm= libsm
OpenPOWER on IntegriCloud