From 06b9067fd54d386edd98783cd9f6e8b3958a5e6c Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sat, 16 May 2020 20:50:32 +0000 Subject: [PATCH] Enable the "curses" window type PR: 246483 Submitted by: Eric Hanneken --- games/nethack36/Makefile | 3 ++- 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