aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTong LIU <nemoliu@FreeBSD.org>2009-12-17 16:45:05 +0000
committerTong LIU <nemoliu@FreeBSD.org>2009-12-17 16:45:05 +0000
commit76289f25f69d1358e303689de52ddf5e426de87e (patch)
treec1eeacb40399e57c3510d43a94b8c216cd43db4b
parent39467857cc0002446ada2957cb381cf024db800b (diff)
downloadports-76289f25f69d1358e303689de52ddf5e426de87e.tar.gz
ports-76289f25f69d1358e303689de52ddf5e426de87e.zip
Notes
-rw-r--r--games/bsdgames/Makefile1
-rw-r--r--games/bsdgames/files/patch-warns40
-rw-r--r--games/bsdgames/pkg-plist1
3 files changed, 2 insertions, 40 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index 9fd6f8c2d984..1771f656b6ea 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -19,6 +19,7 @@ COMMENT= Traditional BSD games taken from DragonFly BSD
WRKSRC= ${WRKDIR}/dragonfly
USE_BZIP2= yes
+MAKE_ENV+= NO_WERROR=1
MAN6= adventure.6 \
arithmetic.6 \
atc.6 \
diff --git a/games/bsdgames/files/patch-warns b/games/bsdgames/files/patch-warns
index 2f2c11b131ab..e69de29bb2d1 100644
--- a/games/bsdgames/files/patch-warns
+++ b/games/bsdgames/files/patch-warns
@@ -1,40 +0,0 @@
---- ./atc/Makefile
-+++ ./atc/Makefile
-@@ -4,6 +4,7 @@
-
- PROG= atc
- CFLAGS+=-I${.CURDIR} -I.
-+WARNS?= 2
- SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
- main.c tunable.c update.c y.tab.h
- MAN= atc.6
---- ./atc/include.h
-+++ ./atc/include.h
-@@ -56,6 +56,7 @@
- #include <pwd.h>
- #include <signal.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <termios.h>
- #include <unistd.h>
---- ./hack/Makefile
-+++ ./hack/Makefile
-@@ -19,6 +19,7 @@ MAN= hack.6
- DPADD= ${LIBTERMCAP}
- LDADD= -ltermcap
- CFLAGS+= -I${.CURDIR} -I.
-+WARNS?= 3 # shadowed 'u' variable, blame sys/stat.h :/
- FILES= rumors help hh data
- FILESMODE_rumors= 440
- FILESGRP= ${BINGRP}
---- ./rogue/Makefile
-+++ ./rogue/Makefile
-@@ -4,6 +4,7 @@
-
- PROG= rogue
- CFLAGS+=-DUNIX
-+WARNS?= 1
- SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
- message.c monster.c move.c object.c pack.c play.c random.c ring.c \
- room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
diff --git a/games/bsdgames/pkg-plist b/games/bsdgames/pkg-plist
index cd71d3ecdba2..56ed352ce4a2 100644
--- a/games/bsdgames/pkg-plist
+++ b/games/bsdgames/pkg-plist
@@ -114,6 +114,7 @@ phantasia/motd
phantasia/scoreboard
@dirrmtry phantasia
@exec chmod 0775 %D/phantasia
+@comment atc_score
battlestar.log
cfscores
criblog