diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2020-05-16 20:50:32 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2020-05-16 20:50:32 +0000 |
commit | 06b9067fd54d386edd98783cd9f6e8b3958a5e6c (patch) | |
tree | ec6eea4f348a16edb3e42a472666eaf8dee6e3ad /games/nethack36 | |
parent | 5bfdeb02c8b7f2d653b93fb34863941d2de9a678 (diff) | |
download | ports-06b9067fd54d386edd98783cd9f6e8b3958a5e6c.tar.gz ports-06b9067fd54d386edd98783cd9f6e8b3958a5e6c.zip |
Enable the "curses" window type
PR: 246483
Submitted by: Eric Hanneken <eric@erichanneken.com>
Notes
Notes:
svn path=/head/; revision=535500
Diffstat (limited to 'games/nethack36')
-rw-r--r-- | games/nethack36/Makefile | 3 | ||||
-rw-r--r-- | games/nethack36/files/patch-sys-unix-Makefile.src | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/games/nethack36/Makefile b/games/nethack36/Makefile index 403f7785c3d4..a13dc311128b 100644 --- a/games/nethack36/Makefile +++ b/games/nethack36/Makefile @@ -3,6 +3,7 @@ PORTNAME= nethack36 PORTVERSION= 3.6.6 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://nethack.org/download/${PORTVERSION}/ DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g}-src @@ -44,7 +45,7 @@ GRAPHICS= X11_GRAPHICS GRAPHICS= # none .endif .endif -CFLAGS+= -DNOMAIL +CFLAGS+= -DNOMAIL -DCURSES_GRAPHICS OPTIONS_DEFINE= DOCS diff --git a/games/nethack36/files/patch-sys-unix-Makefile.src b/games/nethack36/files/patch-sys-unix-Makefile.src index 1ac53670fbef..bdd2e3244767 100644 --- a/games/nethack36/files/patch-sys-unix-Makefile.src +++ b/games/nethack36/files/patch-sys-unix-Makefile.src @@ -31,7 +31,7 @@ #WINSRC = $(WINCURSESSRC) #WINOBJ = $(WINCURSESOBJ) + -+WINSRC = $(WINTTYSRC) ++WINSRC = $(WINTTYSRC) $(WINCURSESSRC) +ifeq ("$(GRAPHICS)","X11_GRAPHICS") +WINSRC += $(WINX11SRC) +endif @@ -42,7 +42,7 @@ +WINSRC += $(WINGNOMESRC) +endif + -+WINOBJ = $(WINTTYOBJ) ++WINOBJ = $(WINTTYOBJ) $(WINCURSESOBJ) +ifeq ("$(GRAPHICS)","X11_GRAPHICS") +WINOBJ += $(WINX11OBJ) +endif |