diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-04 22:52:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-04 22:52:12 +0000 |
commit | c16bf4a0396a8172d77e060332139043e4035240 (patch) | |
tree | 3e0826cfc227cdb2fbd0a56945da60b8afbe51a1 /usr.sbin/sendmail | |
parent | 06bac5bee8932a6ff7b0f4046144858d434d8526 (diff) |
permit YP to be compiled out using flag in bsd.own.mk; pr#15, peter@demon.net
Diffstat (limited to 'usr.sbin/sendmail')
-rw-r--r-- | usr.sbin/sendmail/src/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/src/Makefile b/usr.sbin/sendmail/src/Makefile index 0fa39dba444..fb171f7bd52 100644 --- a/usr.sbin/sendmail/src/Makefile +++ b/usr.sbin/sendmail/src/Makefile @@ -6,6 +6,8 @@ # @Id: Makefile.NetBSD,v 1.3 1994/02/01 05:33:44 glass Exp $ # +.include <bsd.own.mk> + PROG= sendmail # define the database format to use for aliases et al. Can be -DNEWDB (for @@ -16,7 +18,11 @@ PROG= sendmail # databases are read, but the new format will be used on any rebuilds. On # really gnarly systems, you can set this to null; it will crawl like a high # spiral snail, but it will work. -DBMDEF= -DNEWDB -DNIS +DBMDEF= -DNEWDB + +.if defined(YP) +DBMDEF+=-DNIS +.endif CFLAGS+=-I${.CURDIR} ${DBMDEF} -DNETISO |