aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-01-02 22:19:38 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-01-02 22:19:38 +0000
commitf8e6cb97771ecbbfa9df14e6a0f04b9ee68fc174 (patch)
tree8a464b9e0593daafaa7216b228727160f5c88b0f /mail/drac/files
parent5c73ae02e3526ffb15f6cda339bad33c01a287cf (diff)
downloadports-f8e6cb97771ecbbfa9df14e6a0f04b9ee68fc174.tar.gz
ports-f8e6cb97771ecbbfa9df14e6a0f04b9ee68fc174.zip
Add support for Postfix DB3 maps.
Requested by: jeremy@external.org
Notes
Notes: svn path=/head/; revision=52511
Diffstat (limited to 'mail/drac/files')
-rw-r--r--mail/drac/files/patch-aa11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/drac/files/patch-aa b/mail/drac/files/patch-aa
index ad90fdf1290b..efa953d3aa0d 100644
--- a/mail/drac/files/patch-aa
+++ b/mail/drac/files/patch-aa
@@ -1,5 +1,5 @@
--- Makefile.orig Mon Nov 20 16:35:16 2000
-+++ Makefile Mon Aug 6 00:28:52 2001
++++ Makefile Wed Jan 2 22:39:40 2002
@@ -5,9 +5,10 @@
# Paths
@@ -14,7 +14,7 @@
# OS-Dependant settings
-@@ -33,20 +34,35 @@
+@@ -33,20 +34,40 @@
# -DCIDR_KEY # keys in CIDR format
# -DTERM_KD # keys and data nul-terminated
@@ -25,7 +25,7 @@
+RPCFLAGS= -DSOCK_RPC
+.endif
+
-+.if defined(WITH_POSTFIX)
++.if defined(WITH_POSTFIX) || defined(WITH_POSTFIX_DB3)
+DEFS= $(RPCFLAGS) -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD
+.elif defined(WITH_EXIM)
+DEFS= $(RPCFLAGS) -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD -DREQ_HASH -DCIDR_KEY
@@ -53,6 +53,11 @@
+TSTLIBS = -L. -ldrac
+#RPCGENFLAGS =
+RPCGENFLAGS = -C -I
++
++.if defined(WITH_POSTFIX_DB3)
++CFLAGS+= -I${PREFIX}/include/db3
++LDLIBS+= -L${PREFIX}/lib -ldb3
++.endif
# Man sections
MANLIB = 3