Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 01:06:30 -0700 (PDT)
From:      Joseph Koshy <jkoshy>
To:        Steve Price <sprice@hiwaay.net>
Cc:        committers@FreeBSD.ORG
Subject:   Re: annoying make(1) behavior 
Message-ID:  <199810150806.BAA20819@hub.freebsd.org>
In-Reply-To: Your message of "Wed, 14 Oct 1998 20:23:54 EST." <Pine.OSF.4.02.9810142008410.11968-100000@fly.HiWAAY.net> 

next in thread | previous in thread | raw e-mail | index | archive | help


> despite the fact that a library doesn't even exist make(1)
> says it is up-to-date and the build fails.  A good example

Try the following patch to "src/usr.bin/make/arch.c". 

Index: arch.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/make/arch.c,v
retrieving revision 1.8
diff -u -r1.8 arch.c
--- arch.c	1997/02/22 19:27:05	1.8
+++ arch.c	1998/10/15 13:11:31
@@ -1187,7 +1187,7 @@
 	    oodate = TRUE;
 	}
 #else
-	oodate = FALSE;
+	oodate = (gn->mtime == 0); /* out of date if non-existent */
 #endif
     }
     return (oodate);





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810150806.BAA20819>