Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

milter-greylist 4.3.8 is available

2010-07-13 by R P Herrold

On Tue, 13 Jul 2010, manu@... wrote:

>> config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir
>> setting

> Will you contribute a fix?

sure.  per the autoconf manual, it seems to be a one liner

diff below, inline

and it now runs without that error:

[herrold@centos-5 milter-greylist]$ rpmbuild -ba \
 	milter-greylist-4.3.8.spec 2>&1 | grep datadir
+ ./configure --build=x86_64-redhat-linux-gnu 
--host=x86_64-redhat-linux-gnu 
--target=x86_64-redhat-linux-gnu --program-prefix= 
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib64 
--libexecdir=/usr/libexec --localstatedir=/var 
--sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-user=smmsp
[herrold@centos-5 milter-greylist]$


-- Russ herrold

4.8.3 Changed Directory Variables

In Autoconf 2.60, the set of directory variables has changed, 
and the defaults of some variables have been adjusted (see 
Installation Directory Variables) to changes in the GNU Coding 
Standards. Notably, datadir, infodir, and mandir are now 
expressed in terms of datarootdir. If you are upgrading from 
an earlier Autoconf version, you may need to adjust your files 
to ensure that the directory variables are substituted 
correctly (see Defining Directories), and that a definition of 
datarootdir is in place. For example, in a Makefile.in, adding

      datarootdir = @datarootdir@

is usually sufficient. If you use Automake to create 
Makefile.in, it will add this for you.



diff -u milter-greylist-4.3.8-ORIG/Makefile.in 
milter-greylist-4.3.8/Makefile.in
--- milter-greylist-4.3.8-ORIG/Makefile.in      2010-04-12 08:04:41.000000000 -0400
+++ milter-greylist-4.3.8/Makefile.in   2010-07-12 22:58:16.000000000 -0400
@@ -33,6 +33,7 @@
  LDFLAGS=       @LDFLAGS@
  LIBS=          @LIBS@
  prefix=                @prefix@
+datarootdir=   @datarootdir@
  exec_prefix=   @exec_prefix@
  SYSCONFDIR=    @sysconfdir@
  LOCALSTATEDIR= @localstatedir@

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.