aboutsummaryrefslogtreecommitdiffstats
path: root/games/bsdgames
diff options
context:
space:
mode:
authornemoliu <nemoliu@FreeBSD.org>2009-12-18 00:45:05 +0800
committernemoliu <nemoliu@FreeBSD.org>2009-12-18 00:45:05 +0800
commitf223aa29cf81760084f6c88192477257005df5e1 (patch)
tree8346eaca01a265d67a15da1222df82390a85316a /games/bsdgames
parent4ec9bcca0f786d1dd103e68c3420d6a3ff9ef50d (diff)
downloadfreebsd-ports-gnome-f223aa29cf81760084f6c88192477257005df5e1.tar.gz
freebsd-ports-gnome-f223aa29cf81760084f6c88192477257005df5e1.tar.zst
freebsd-ports-gnome-f223aa29cf81760084f6c88192477257005df5e1.zip
- Make it unbreak on -CURRENT
PR: ports/141673 Submitted by: Ulrich Spoerlein <uqs@spoerlein.net> (maintainer)
Diffstat (limited to 'games/bsdgames')
-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