aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2006-03-27 05:16:49 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2006-03-27 05:16:49 +0000
commite4d34c7f7cb41f73860ee553c5179f6f18cc6ba9 (patch)
tree42375de44005ae1c57fab474f7cf56beb679049e /mail/drac/files
parente5385e79f9fd299d8f9550a429b8859676e3ae1e (diff)
downloadports-e4d34c7f7cb41f73860ee553c5179f6f18cc6ba9.tar.gz
ports-e4d34c7f7cb41f73860ee553c5179f6f18cc6ba9.zip
Add knob WITH_POSTFIX_DB41 to use with postfix/db41.
This port shoud support more flavors of databases/db*, but I just only use db41 with postfix in my environment.
Notes
Notes: svn path=/head/; revision=158241
Diffstat (limited to 'mail/drac/files')
-rw-r--r--mail/drac/files/patch-aa10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/drac/files/patch-aa b/mail/drac/files/patch-aa
index 59785f6101bc..048e2f9c96fc 100644
--- a/mail/drac/files/patch-aa
+++ b/mail/drac/files/patch-aa
@@ -1,5 +1,5 @@
--- Makefile.orig Mon Jan 13 05:45:12 2003
-+++ Makefile Wed Mar 26 08:58:22 2003
++++ Makefile Wed Mar 1 10:27:04 2006
@@ -5,9 +5,10 @@
# Paths
@@ -14,7 +14,7 @@
# OS-Dependant settings
-@@ -33,22 +34,42 @@
+@@ -33,22 +34,46 @@
# -DCIDR_KEY # keys in CIDR format
# -DTERM_KD # keys and data nul-terminated
@@ -25,7 +25,7 @@
+DEFS+= -DSOCK_RPC
+.endif
+
-+.if defined(WITH_POSTFIX) || defined(WITH_POSTFIX_DB3)
++.if defined(WITH_POSTFIX) || defined(WITH_POSTFIX_DB3) || defined(WITH_POSTFIX_DB41)
+DEFS+= -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD
+.elif defined(WITH_EXIM)
+DEFS+= -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD -DREQ_HASH -DCIDR_KEY
@@ -61,6 +61,10 @@
+CFLAGS+= -I${LOCALBASE}/include/db3
+LDLIBS+= -L${LOCALBASE}/lib -ldb3
+.endif
++.if defined(WITH_POSTFIX_DB41)
++CFLAGS+= -I${LOCALBASE}/include/db41
++LDLIBS+= -L${LOCALBASE}/lib -ldb41
++.endif
# Man sections
MANLIB = 3