From f6a71b56a19cfe65b4c6f340dac87a7948c43f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20Sp=C3=B6rlein?= Date: Mon, 15 Feb 2010 14:32:00 +0000 Subject: [PATCH] games: make WARNS=6 the default, remove overrides This also bumps factor, fortune, primes, and random to WARNS=6. Approved by: ed (Co-mentor) --- games/Makefile.inc | 1 + games/bcd/Makefile | 1 - games/caesar/Makefile | 2 -- games/fortune/fortune/Makefile | 1 - games/fortune/strfile/Makefile | 1 - games/fortune/unstr/Makefile | 1 - games/grdc/Makefile | 1 - games/number/Makefile | 2 -- games/pom/Makefile | 2 -- games/ppt/Makefile | 2 -- games/random/Makefile | 1 - 11 files changed, 1 insertion(+), 14 deletions(-) diff --git a/games/Makefile.inc b/games/Makefile.inc index b81af5e0f246..6e4b6f10429b 100644 --- a/games/Makefile.inc +++ b/games/Makefile.inc @@ -3,3 +3,4 @@ BINDIR?= /usr/games FILESDIR?= ${SHAREDIR}/games +WARNS?= 6 diff --git a/games/bcd/Makefile b/games/bcd/Makefile index 5698c121d638..1e0bbfc60cea 100644 --- a/games/bcd/Makefile +++ b/games/bcd/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= bcd -WARNS?= 6 MAN= bcd.6 MLINKS= bcd.6 ppt.6 diff --git a/games/caesar/Makefile b/games/caesar/Makefile index ebb770e861e4..88b79eeb62aa 100644 --- a/games/caesar/Makefile +++ b/games/caesar/Makefile @@ -8,6 +8,4 @@ SCRIPTS=rot13.sh MAN= caesar.6 MLINKS= caesar.6 rot13.6 -WARNS?= 6 - .include diff --git a/games/fortune/fortune/Makefile b/games/fortune/fortune/Makefile index e8bd74be5626..c18ead9ef77d 100644 --- a/games/fortune/fortune/Makefile +++ b/games/fortune/fortune/Makefile @@ -3,7 +3,6 @@ PROG= fortune MAN= fortune.6 -WARNS?= 2 CFLAGS+=-DDEBUG -I${.CURDIR}/../strfile .include diff --git a/games/fortune/strfile/Makefile b/games/fortune/strfile/Makefile index 251779eb2274..a43e8ea3e128 100644 --- a/games/fortune/strfile/Makefile +++ b/games/fortune/strfile/Makefile @@ -4,6 +4,5 @@ PROG= strfile MAN= strfile.8 MLINKS= strfile.8 unstr.8 -WARNS?= 6 .include diff --git a/games/fortune/unstr/Makefile b/games/fortune/unstr/Makefile index 0331e4bfa2a8..428b10922737 100644 --- a/games/fortune/unstr/Makefile +++ b/games/fortune/unstr/Makefile @@ -3,7 +3,6 @@ PROG= unstr NO_MAN= -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../strfile .include diff --git a/games/grdc/Makefile b/games/grdc/Makefile index 3971380fae73..6b1d6ee8034a 100644 --- a/games/grdc/Makefile +++ b/games/grdc/Makefile @@ -2,7 +2,6 @@ PROG= grdc MAN= grdc.6 -WARNS?= 6 DPADD= ${LIBNCURSES} LDADD= -lncurses diff --git a/games/number/Makefile b/games/number/Makefile index 08e9be8e730c..8e75f71a7858 100644 --- a/games/number/Makefile +++ b/games/number/Makefile @@ -4,6 +4,4 @@ PROG= number MAN= number.6 -WARNS?= 6 - .include diff --git a/games/pom/Makefile b/games/pom/Makefile index 332f3cf1aeaf..9a74204f2564 100644 --- a/games/pom/Makefile +++ b/games/pom/Makefile @@ -6,6 +6,4 @@ MAN= pom.6 DPADD= ${LIBM} LDADD= -lm -WARNS?= 6 - .include diff --git a/games/ppt/Makefile b/games/ppt/Makefile index d4433c45ccc3..c5ac6a8b2f3c 100644 --- a/games/ppt/Makefile +++ b/games/ppt/Makefile @@ -4,7 +4,5 @@ PROG= ppt NO_MAN= -WARNS?= 6 - .include diff --git a/games/random/Makefile b/games/random/Makefile index 7db5a8f8f85a..9136c98a9d1e 100644 --- a/games/random/Makefile +++ b/games/random/Makefile @@ -4,6 +4,5 @@ PROG= random MAN= random.6 SRCS= random.c randomize_fd.c -WARNS?= 5 .include