summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-08 19:38:54 +0000
committerjoerg <joerg>2006-01-08 19:38:54 +0000
commit41ef8a2ad55eef83bb4c5e100351bffdfd91c05c (patch)
tree3d5975a573af84da5f3d1fe455bee2f66f4f74a5 /mail
parent7f50443a4cecdf193467c614bf5fd9f7045a4a46 (diff)
downloadpkgsrc-41ef8a2ad55eef83bb4c5e100351bffdfd91c05c.tar.gz
Add DragonFly support.
Diffstat (limited to 'mail')
-rw-r--r--mail/exim3/Makefile6
-rw-r--r--mail/exim3/files/Makefile-DragonFly18
-rw-r--r--mail/exim3/files/os.h-DragonFly10
3 files changed, 33 insertions, 1 deletions
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 */