summaryrefslogtreecommitdiff
path: root/mail/milter-greylist
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-03 13:54:45 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-03 13:54:45 +0000
commit69554b2be31387a5a22348acdfd80fbe95d9902b (patch)
treef0384614f91c073d547064a3c7e0dd2d67393d7e /mail/milter-greylist
parent98247e1c01892039361d2d6f01bc8d34dad0718b (diff)
downloadpkgsrc-69554b2be31387a5a22348acdfd80fbe95d9902b.tar.gz
Add common handling for libresolv similiar to dlopen(3) wrapping.
For now, DragonFly and FreeBSD use the libc version, it is not reentrant, but thread-safe. NetBSD 3.0+ and Darwin 8.0+ use libresolv from base (the BIND9 resolver), all other fall back to net/bind9. Feel free to add your favorite platform if it has a thread-safe resolver in base. Modify mail/libspf-alf, mail/milter-greylist, mail/spamdyke and net/nocol accordingly. Testing on !DragonFly and feedback from tron@
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r--mail/milter-greylist/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/milter-greylist/options.mk b/mail/milter-greylist/options.mk
index a47af91b6e5..0231f4063ad 100644
--- a/mail/milter-greylist/options.mk
+++ b/mail/milter-greylist/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2006/11/09 13:15:10 ghen Exp $
+# $NetBSD: options.mk,v 1.3 2007/07/03 13:54:45 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.milter-greylist
PKG_SUPPORTED_OPTIONS= dnsrbl drac spf
@@ -12,7 +12,7 @@ PKG_SUGGESTED_OPTIONS= dnsrbl spf
.if empty(PKG_OPTIONS:Mdnsrbl)
CONFIGURE_ARGS+= --disable-dnsrbl
.else
-CONFIGURE_ARGS+= --enable-dnsrbl
+CONFIGURE_ARGS+= --enable-dnsrbl --with-thread-safe-resolver
.endif
###