diff options
author | ru <ru@FreeBSD.org> | 2006-03-17 18:54:44 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-03-17 18:54:44 +0000 |
commit | 388e590f951441f619cd32710dc151e0ac810a10 (patch) | |
tree | 801e953598fc63a37f62cf997017301675552fe9 /lib/libpam | |
parent | a251964eaca5833ff2c4651fe4f7f8cac7199da5 (diff) | |
download | FreeBSD-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 'lib/libpam')
-rw-r--r-- | lib/libpam/modules/modules.inc | 6 | ||||
-rw-r--r-- | lib/libpam/modules/pam_unix/Makefile | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib/libpam/modules/modules.inc b/lib/libpam/modules/modules.inc index c721075..c570cfd 100644 --- a/lib/libpam/modules/modules.inc +++ b/lib/libpam/modules/modules.inc @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.own.mk> + MODULES = MODULES += pam_chroot MODULES += pam_deny @@ -8,7 +10,7 @@ MODULES += pam_exec MODULES += pam_ftpusers MODULES += pam_group MODULES += pam_guest -.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL) +.if ${MK_KERBEROS} != "no" MODULES += pam_krb5 MODULES += pam_ksu .endif @@ -24,7 +26,7 @@ MODULES += pam_rhosts MODULES += pam_rootok MODULES += pam_securetty MODULES += pam_self -.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH) +.if ${MK_OPENSSH} != "no" MODULES += pam_ssh .endif MODULES += pam_tacplus diff --git a/lib/libpam/modules/pam_unix/Makefile b/lib/libpam/modules/pam_unix/Makefile index fde40fe..385cb9c 100644 --- a/lib/libpam/modules/pam_unix/Makefile +++ b/lib/libpam/modules/pam_unix/Makefile @@ -34,6 +34,8 @@ # # $FreeBSD$ +.include <bsd.own.mk> + LIB= pam_unix SRCS= pam_unix.c MAN= pam_unix.8 @@ -41,7 +43,7 @@ MAN= pam_unix.8 DPADD= ${LIBUTIL} ${LIBCRYPT} LDADD= -lutil -lcrypt -.if !defined(NO_NIS) +.if ${MK_NIS} != "no" CFLAGS+= -DYP DPADD+= ${LIBYPCLNT} LDADD+= -lypclnt |