diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2004-11-13 20:40:32 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2004-11-13 20:40:32 +0000 |
commit | 6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001 (patch) | |
tree | da33d2aed5fb6a0c2319fb0d10f0957f518eee99 /lib/libwrap/Makefile | |
parent | 70502bea852fbe21d2d1edc4a67e976adf7f96dd (diff) | |
download | src-6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001.tar.gz src-6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001.zip |
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=137675
Diffstat (limited to 'lib/libwrap/Makefile')
-rw-r--r-- | lib/libwrap/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile index c559ce9517b2..c780768df4d2 100644 --- a/lib/libwrap/Makefile +++ b/lib/libwrap/Makefile @@ -17,6 +17,9 @@ CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \ -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS +.if defined(NO_NIS) +CFLAGS+= -DUSE_GETDOMAIN +.endif .if !defined(NOINET6) CFLAGS+=-DINET6 .endif |