diff options
author | Robert Clausecker <fuz@fuz.su> | 2021-04-27 23:43:23 +0200 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-05-24 08:09:09 +0800 |
commit | 7ef30eed0cf6f5626f708259518981a293a7645a (patch) | |
tree | c2d72570729f45c45c837c74cbc4c17017330b13 /games/xnethack/files/patch-sys-unix-Makefile.utl | |
parent | games/nbsdgames: (new port) 17 text-based modern games (diff) |
games/xnethack: (new port) Experimental features and improvements applied to NetHack 3.7-dev
xNetHack is a fork of the dungeon exploration game NetHack. It is a
distant descendent of Rogue and Hack, and a direct descendant of the
development version of NetHack 3.7.
The main goals of xNetHack are to take vanilla NetHack and:
- Fix gameplay balance issues.
- Remove tedious and frustrating parts of the game.
- Make uninteresting parts of the game more interesting.
- Experiment with new ideas from the community.
In general, the game design takes a conservative approach to changing
the gameplay compared to other variants, with focus on deepening
elements of the game rather than broadening them. For example, this
philosophy would prefer to differentiate monsters in a class that all
tend to play the same way, instead of adding new monsters to that class.
WWW: https://nethackwiki.com/wiki/XNetHack
PR: 255456
Diffstat (limited to 'games/xnethack/files/patch-sys-unix-Makefile.utl')
-rw-r--r-- | games/xnethack/files/patch-sys-unix-Makefile.utl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games/xnethack/files/patch-sys-unix-Makefile.utl b/games/xnethack/files/patch-sys-unix-Makefile.utl new file mode 100644 index 000000000000..10fd6bc5aa42 --- /dev/null +++ b/games/xnethack/files/patch-sys-unix-Makefile.utl @@ -0,0 +1,33 @@ +--- sys/unix/Makefile.utl.orig 2021-03-22 22:28:14 UTC ++++ sys/unix/Makefile.utl +@@ -93,18 +93,25 @@ NHSROOT=.. + # flags for debugging: + # CFLAGS = -g -I../include + +-#CFLAGS = -O -I../include +-#LFLAGS = ++CFLAGS += -I../include -I${LUA_INCDIR} ++ifeq ("$(GRAPHICS)","X11_GRAPHICS") ++CFLAGS += -DX11_GRAPHICS ++endif ++ifeq ("$(GRAPHICS)","QT_GRAPHICS") ++CFLAGS += -DQT_GRAPHICS ++endif ++ifeq ("$(GRAPHICS)","GNOME_GRAPHICS") ++CFLAGS += -DGNOME_GRAPHICS ++endif + +-# -lm required by lua +-LFLAGS += -lm ++LFLAGS = -L${LUA_LIBDIR} + + # we specify C preprocessor flags via CFLAGS; files built with default rules + # might include $(CPPFLAGS) which could get a value from user's environment; + # we avoid that by forcing it empty rather than by overriding default rules + CPPFLAGS = + +-LIBS = ++LIBS = -llua-${LUA_VER} -lm + + OBJDIR = ../src + |