diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2002-01-21 00:44:07 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2002-01-21 00:44:07 +0000 |
commit | e84b0da9d1f67b7cd0ed762b4813e5253cd90c9f (patch) | |
tree | 6e0af41f0dc438707d72c80c3e47a58e7c61db96 /gnu/usr.sbin | |
parent | e9d1b2095fbf59b3180899ccc5f9b92439edfb9b (diff) |
Particularly egregious pair of changes to get recent sendmail
working on vax. It's most likely this only succeeds because the
rearranged code doesn't trip a compiler bug.
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r-- | gnu/usr.sbin/sendmail/Makefile.inc | 7 | ||||
-rw-r--r-- | gnu/usr.sbin/sendmail/sendmail/conf.h | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gnu/usr.sbin/sendmail/Makefile.inc b/gnu/usr.sbin/sendmail/Makefile.inc index 5c74f155cd3..d8744a3d9c5 100644 --- a/gnu/usr.sbin/sendmail/Makefile.inc +++ b/gnu/usr.sbin/sendmail/Makefile.inc @@ -1,9 +1,12 @@ -# $OpenBSD: Makefile.inc,v 1.8 2002/01/09 21:25:33 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.9 2002/01/21 00:44:06 hugh Exp $ .include <bsd.own.mk> .include <bsd.obj.mk> -ENVDEF+= -DSM_OMIT_BOGUS_WARNINGS -DNEWDB -DMAP_REGEX +.if (${MACHINE_ARCH} != "vax") +ENVDEF+=-DSM_OMIT_BOGUS_WARNINGS +.endif +ENVDEF+= -DNEWDB -DMAP_REGEX ENVDEF+= -DNETINET6 -DNEEDSGETIPNODE -DSM_CONF_SHM .if (${YP:L} == "yes") ENVDEF+=-DNIS diff --git a/gnu/usr.sbin/sendmail/sendmail/conf.h b/gnu/usr.sbin/sendmail/sendmail/conf.h index 7af5913ef27..987886b0f76 100644 --- a/gnu/usr.sbin/sendmail/sendmail/conf.h +++ b/gnu/usr.sbin/sendmail/sendmail/conf.h @@ -187,7 +187,11 @@ struct rusage; /* forward declaration to get gcc to shut up in wait.h */ #endif /* NAMED_BIND */ #ifndef PIPELINING -# define PIPELINING 1 /* SMTP PIPELINING */ +# ifdef __vax__ +# define PIPELINING 0 /* SMTP PIPELINING */ +# else +# define PIPELINING 1 /* SMTP PIPELINING */ +# endif /* __vax__ */ #endif /* PIPELINING */ /********************************************************************** |