From 41ef8a2ad55eef83bb4c5e100351bffdfd91c05c Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 8 Jan 2006 19:38:54 +0000 Subject: Add DragonFly support. --- mail/exim3/Makefile | 6 +++++- mail/exim3/files/Makefile-DragonFly | 18 ++++++++++++++++++ mail/exim3/files/os.h-DragonFly | 10 ++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 mail/exim3/files/Makefile-DragonFly create mode 100644 mail/exim3/files/os.h-DragonFly (limited to 'mail') diff --git a/mail/exim3/Makefile b/mail/exim3/Makefile index 6cd80c75f40..f8a291f04bc 100644 --- a/mail/exim3/Makefile +++ b/mail/exim3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2006/01/08 18:35:10 xtraeme Exp $ +# $NetBSD: Makefile,v 1.27 2006/01/08 19:38:54 joerg Exp $ DISTNAME= exim-3.36 PKGREVISION= 5 @@ -63,6 +63,10 @@ MAKE_ENV+= DBMLIB=${DBMLIB:Q} MAKE_ENV+= LOOKUP_INCLUDE=${LOOKUP_INCLUDE:Q} MAKE_ENV+= LOOKUP_LIBS=${LOOKUP_LIBS:Q} +post-extract: + ${CP} ${FILESDIR}/Makefile-DragonFly ${FILESDIR}/os.h-DragonFly \ + ${WRKSRC}/OS/ + pre-patch: ${MKDIR} ${WRKSRC}/Local ${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.netbsd diff --git a/mail/exim3/files/Makefile-DragonFly b/mail/exim3/files/Makefile-DragonFly new file mode 100644 index 00000000000..7736b7d480b --- /dev/null +++ b/mail/exim3/files/Makefile-DragonFly @@ -0,0 +1,18 @@ +# Exim: OS-specific make file for DragonFly +# There's no setting of CFLAGS here, to allow the system default +# for "make" to be the default. + +CHOWN_COMMAND=/usr/sbin/chown +HAVE_SA_LEN=YES +LIBS=-lcrypt +USE_DB=yes + +XINCLUDE=-I$(X11BASE)/include +XLFLAGS=-L$(X11BASE)/lib -R$(X11BASE)/lib +X11_LD_LIB=$(X11BASE)/lib + +EXIWHAT_PS_ARG=-ax +EXIWHAT_EGREP_ARG='/exim( |$$)' +EXIWHAT_KILL_ARG=-USR1 + +# End diff --git a/mail/exim3/files/os.h-DragonFly b/mail/exim3/files/os.h-DragonFly new file mode 100644 index 00000000000..669bb232746 --- /dev/null +++ b/mail/exim3/files/os.h-DragonFly @@ -0,0 +1,10 @@ +/* Exim: OS-specific C header file for DragonFly */ + +#define HAVE_BSD_GETLOADAVG +#define HAVE_MMAP +#define HAVE_SYS_MOUNT_H +#define SIOCGIFCONF_GIVES_ADDR + +typedef struct flock flock_t; + +/* End */ -- cgit v1.2.3