summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorreed <reed>2005-08-29 18:31:48 +0000
committerreed <reed>2005-08-29 18:31:48 +0000
commitf12fff6b18a5ece96fbac38fdf37f3e600929164 (patch)
treee32b10d384f7a45f032a0092a0b39d4acf5a7be7 /mail/exim
parent65beb776f9e958f86c153849fd8e455189ac8829 (diff)
downloadpkgsrc-f12fff6b18a5ece96fbac38fdf37f3e600929164.tar.gz
Add DragonFly support files.
I only tested a little (installed and ran daemon and manually sent one email via SMTP). I emailed exim developer list to submit support also. (PKGREVISION was bumped a couple minutes ago, so use it.)
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile4
-rw-r--r--mail/exim/files/Makefile-DragonFly32
-rw-r--r--mail/exim/files/os.h-DragonFly12
3 files changed, 47 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 348a0b1ccf6..b9efd3071f1 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2005/08/29 18:29:05 reed Exp $
+# $NetBSD: Makefile,v 1.64 2005/08/29 18:31:48 reed Exp $
DISTNAME= exim-4.52
PKGREVISION= 1
@@ -75,6 +75,8 @@ post-extract:
${MKDIR} ${WRKSRC}/Local
${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.pkgsrc
${CP} ${WRKSRC}/exim_monitor/EDITME ${WRKSRC}/Local/eximon.conf.pkgsrc
+ ${CP} ${FILESDIR}/Makefile-DragonFly ${FILESDIR}/os.h-DragonFly \
+ ${WRKSRC}/OS/
pre-configure:
@${ECHO} LOOKUP_DSEARCH=yes >> ${WRKSRC}/Local/Makefile.pkgsrc
diff --git a/mail/exim/files/Makefile-DragonFly b/mail/exim/files/Makefile-DragonFly
new file mode 100644
index 00000000000..7a1c52eb0a4
--- /dev/null
+++ b/mail/exim/files/Makefile-DragonFly
@@ -0,0 +1,32 @@
+# $Cambridge: exim/exim-src/OS/Makefile-FreeBSD,v 1.2 2005/05/23 16:58:55 fanf2 Exp $
+
+# 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
+
+# crypt() is in a separate library
+LIBS=-lcrypt -lm
+
+# DragonFly always ships with Berkeley DB
+USE_DB=yes
+
+# X11 may be under /usr/pkg/xorg/ for example.
+# X11=/usr/X11R6
+X11=$(X11BASE)
+
+XINCLUDE=-I$(X11)/include
+XLFLAGS=-L$(X11)/lib
+XLFLAGS+=-Wl,-rpath,${X11BASE}/lib
+X11_LD_LIB=$(X11)/lib
+
+EXIWHAT_PS_ARG=-ax
+EXIWHAT_EGREP_ARG='/exim( |$$)'
+EXIWHAT_MULTIKILL_CMD='killall -m'
+EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
+EXIWHAT_KILL_SIGNAL=-USR1
+
+# End
diff --git a/mail/exim/files/os.h-DragonFly b/mail/exim/files/os.h-DragonFly
new file mode 100644
index 00000000000..717a207c8cf
--- /dev/null
+++ b/mail/exim/files/os.h-DragonFly
@@ -0,0 +1,12 @@
+/* $Cambridge: exim/exim-src/OS/os.h-FreeBSD,v 1.1 2004/10/06 15:07:39 ph10 Exp $ */
+
+/* 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 */