$NetBSD: patch-ad,v 1.3 2002/12/09 11:38:05 ad Exp $ --- OS/Makefile-NetBSD~ Mon Jul 22 09:59:45 2002 +++ OS/Makefile-NetBSD Mon Dec 9 11:22:09 2002 @@ -1,15 +1,26 @@ # Exim: OS-specific make file for NetBSD (ELF binary format) -# Submitted by: Vadim Vygonets -# Include Makfile.NetBSD-a.out +CHOWN_COMMAND=/usr/sbin/chown +CFLAGS=-O2 -pipe -.if exists(OS/Makefile-NetBSD-a.out) -.include "OS/Makefile-NetBSD-a.out" -.elif exists(../OS/Makefile-NetBSD-a.out) -.include "../OS/Makefile-NetBSD-a.out" -.else -.include "Makefile.NetBSD-a.out, submit a bug report." -.endif +HAVE_SA_LEN=YES +HAVE_IPV6=YES +LIBS=-lcrypt + +X11=/usr/X11R6 +XINCLUDE=-I$(X11)/include +XLFLAGS=-L$(X11)/lib +X11_LD_LIB=$(X11)/lib + +EXIWHAT_PS_ARG=-ax +EXIWHAT_EGREP_ARG='/exim( |$$)' +EXIWHAT_KILL_SIGNAL=-USR1 + +# NetBSD always ships with Berkeley DB + +USE_DB=yes + +# End # NetBSD ELF linker needs a -R flag. XLFLAGS+=-Wl,-R$(X11)/lib/