Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2010 16:13:56 +0000 (UTC)
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203349 - in head/share/examples/kld: cdev/test syscall/test
Message-ID:  <201002011613.o11GDu7X006531@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wkoszek
Date: Mon Feb  1 16:13:56 2010
New Revision: 203349
URL: http://svn.freebsd.org/changeset/base/203349

Log:
  Conform style.Makefile(5) and replace = and += with ?=, which lets you to
  override WARNS.
  
  Reported by:	<marius@nuenneri.ch> and uqs@

Modified:
  head/share/examples/kld/cdev/test/Makefile
  head/share/examples/kld/syscall/test/Makefile

Modified: head/share/examples/kld/cdev/test/Makefile
==============================================================================
--- head/share/examples/kld/cdev/test/Makefile	Mon Feb  1 16:02:14 2010	(r203348)
+++ head/share/examples/kld/cdev/test/Makefile	Mon Feb  1 16:13:56 2010	(r203349)
@@ -68,7 +68,7 @@
 #
 PROG=	testcdev
 NO_MAN=
-WARNS=	5
+WARNS?=	5
 
 MODSTAT= /sbin/kldstat
 

Modified: head/share/examples/kld/syscall/test/Makefile
==============================================================================
--- head/share/examples/kld/syscall/test/Makefile	Mon Feb  1 16:02:14 2010	(r203348)
+++ head/share/examples/kld/syscall/test/Makefile	Mon Feb  1 16:13:56 2010	(r203349)
@@ -3,6 +3,6 @@
 
 PROG=	call
 NO_MAN=
-WARNS+=	5
+WARNS?=	5
 
 .include <bsd.prog.mk>



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