pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43380 (mail/mimedefang looks for /etc/mimedefang)



The following reply was made to PR pkg/43380; it has been noted by GNATS.

From: Fredrik Pettai <pettai%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, Manuel.Bouyer%lip6.fr@localhost
Cc: pkg-manager%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost,
        OBATA Akio <obache%NetBSD.org@localhost>
Subject: Re: pkg/43380 (mail/mimedefang looks for /etc/mimedefang)
Date: Sat, 29 May 2010 22:32:56 +0200

 Hi,
 
 Hmm... configure won't honor --sysconfdir in NetBSD it seems, and that =
 seems to depend on this line:
 
 configure:1794:echo $* | fgrep -e '--sysconfdir' > /dev/null 2>&1 || =
 sysconfdir=3D'/etc'
 
 The attached patch solved it for me. If no one has a better idea how to =
 solve this "better" I will commit this fix.
 
 Re,
 /P=20
 
 Index: distinfo
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/mail/mimedefang/distinfo,v
 retrieving revision 1.19
 diff -u -u -r1.19 distinfo
 --- distinfo    8 Mar 2010 23:46:44 -0000       1.19
 +++ distinfo    29 May 2010 20:22:44 -0000
 @@ -4,3 +4,4 @@
  RMD160 (mimedefang-2.68.tar.gz) =3D =
 6042a652528e54c6a50aaf59dc610fa3c1bf94f7
  Size (mimedefang-2.68.tar.gz) =3D 342973 bytes
  SHA1 (patch-ac) =3D 8733dca9408f29f63d71f6a0f3af817ef6b9a148
 +SHA1 (patch-ad) =3D 1130dad09875d069ca246db8f8f567366e0af5be
 Index: patches/patch-ad
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: patches/patch-ad
 diff -N patches/patch-ad
 --- /dev/null   1 Jan 1970 00:00:00 -0000
 +++ patches/patch-ad    29 May 2010 20:22:44 -0000
 @@ -0,0 +1,13 @@
 +$NetBSD$
 +
 +--- configure.orig     2010-01-03 17:46:46.000000000 +0100
 ++++ configure  2010-01-03 17:47:01.000000000 +0100
 +@@ -1793,7 +1793,7 @@
 +=20
 +=20
 +=20
 +-echo $* | fgrep -e '--sysconfdir' > /dev/null 2>&1 || =
 sysconfdir=3D'/etc'
 ++#echo $* | fgrep -e '--sysconfdir' > /dev/null 2>&1 || =
 sysconfdir=3D'/etc'
 +=20
 + ac_ext=3Dc
 + ac_cpp=3D'$CPP $CPPFLAGS'=
 


Home | Main Index | Thread Index | Old Index