Nicolas Joly | 14 Jul 2006 09:20
Picon
Picon
Favicon

Re: definition of xf86LoadVBEModule() macro missing from xfree/xc/programs/Xserver/hw/xfree86/vbe/vbe.h?

On Thu, Jul 13, 2006 at 08:25:32PM -0400, Greg A. Woods wrote:
> 
> BTW, how the heck to I tell the Imake generated makefiles to _ALWAYS_
> stop on errors!?!?!?!?  (So far as I can tell "-i" is not in MAKEFLAGS)

This is a bug which has been fixed in 4.6.0 :

XFree86 4.5.99.901 (6 March 2006)
[...]
 230. Fix a problem on NetBSD where a build will continue after an error
      (David Dawes).

Try the following patch (untested) :

Index: xc/config/cf/Imake.rules
===================================================================
RCS file: /cvs/xc/config/cf/Imake.rules,v
retrieving revision 3.145
retrieving revision 3.146
diff -u -r3.145 -r3.146
--- xc/config/cf/Imake.rules	14 Oct 2005 15:15:52 -0000	3.145
+++ xc/config/cf/Imake.rules	6 Mar 2006 15:58:01 -0000	3.146
 <at>  <at>  -1704,8 +1719,9  <at>  <at> 
  */
 #ifndef MakeNamedTargetSubdir
 #define MakeNamedTargetSubdir(dir,flags,subname)\
-		(cd dir && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \	 <at>  <at> \
-			flags subname)
+		if [ -z "$$_fail" ]; then _fail="exit 1"; fi; \		 <at>  <at> \
+		(cd dir; $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \		 <at>  <at> \
+			flags subname) || $$_fail
 #endif

 /*

--

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Gmane