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)
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='/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
Index: distinfo
===================================================================
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) = 6042a652528e54c6a50aaf59dc610fa3c1bf94f7
Size (mimedefang-2.68.tar.gz) = 342973 bytes
SHA1 (patch-ac) = 8733dca9408f29f63d71f6a0f3af817ef6b9a148
+SHA1 (patch-ad) = 1130dad09875d069ca246db8f8f567366e0af5be
Index: patches/patch-ad
===================================================================
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 @@
+
+
+
+-echo $* | fgrep -e '--sysconfdir' > /dev/null 2>&1 || sysconfdir='/etc'
++#echo $* | fgrep -e '--sysconfdir' > /dev/null 2>&1 || sysconfdir='/etc'
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
Home |
Main Index |
Thread Index |
Old Index