Subject: Re: pkg/37064 (mail/milter-greylist configure script ignores --disable-dnsrbl)
To: None <gnats-bugs@NetBSD.org, pkg-manager@netbsd.org,>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: pkgsrc-bugs
Date: 10/09/2007 15:27:30
<tron@netbsd.org> wrote:
> Synopsis: mail/milter-greylist configure script ignores --disable-dnsrbl
>
> Responsible-Changed-From-To: pkg-manager->manu
> Responsible-Changed-By: tron@netbsd.org
> Responsible-Changed-When: Tue, 09 Oct 2007 13:14:46 +0000
> Responsible-Changed-Why:
> This is not really a bug in the package but a bug in "milter-greylist" itself.
> And its developer Emmanuel Dreyfus happens to be a NetBSD developer. :-)
Does the patch below fix the problem? (crudely copy/pasted, so expect
tab/space troubles, but it's simple enough to be applied by hand)
Index: configure.ac
===================================================================
RCS file: /milter-greylist/milter-greylist/configure.ac,v
retrieving revision 1.225
diff -U2 -r1.225 configure.ac
--- configure.ac 5 Oct 2007 23:20:19 -0000 1.225
+++ configure.ac 9 Oct 2007 13:26:13 -0000
@@ -683,5 +683,5 @@
AC_ARG_ENABLE(dnsrbl,
[ --enable-dnsrbl Enable DNSRBL support],
- [if test x$enableval = xyes; then
+ [if test x$rdns = xyes; then
SAVEDCFLAGS=$CFLAGS" -DUSE_DNSRBL"
# For Debian
Index: configure
===================================================================
RCS file: /milter-greylist/milter-greylist/configure,v
retrieving revision 1.225
diff -U2 -r1.225 configure
--- configure 5 Oct 2007 23:20:19 -0000 1.225
+++ configure 9 Oct 2007 13:26:22 -0000
@@ -9171,5 +9171,5 @@
if test "${enable_dnsrbl+set}" = set; then
enableval="$enable_dnsrbl"
- if test x$enableval = xyes; then
+ if test x$rdns = xyes; then
SAVEDCFLAGS=$CFLAGS" -DUSE_DNSRBL"
# For Debian
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org