Subject: Re: pkg/29255: mail/spamassassin needs to be run twice after makefile is rebuilt
To: None <heinz@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Klaus Heinz <heinz@NetBSD.org>
List: pkgsrc-bugs
Date: 02/13/2005 18:51:02
The following reply was made to PR pkg/29255; it has been noted by GNATS.

From: Klaus Heinz <heinz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: michael@nosflow.com
Subject: Re: pkg/29255: mail/spamassassin needs to be run twice after makefile is rebuilt
Date: Sun, 13 Feb 2005 19:50:42 +0100

 michael@nosflow.com wrote:
 > ===> Building for spamassassin-3.0.2
 > Makefile out-of-date with respect to Makefile.PL
 
 Obviously, "Makefile.PL" is newer than "Makefile". If you look at the files
 in work/Mail-SpamAssassin-3.0.2/ with "ls -1t Makefile*", you
 will see them in the order
 
   Makefile.PL
   Makefile
   Makefile.PL.orig
 
 Can you tell me the output you get from 
   stat -f '%m'  Makefile Makefile.PL
 ?
 
 My guess is. the modification time differs at least 1 second between the
 two files. For me, there is no difference and that's why I didn't see
 the problem before. "make" seems to need at least a difference of 1
 second to detect that "Makefile" is outdated.
 
 ciao
      Klaus