Enable the "curses" window type

PR:		246483
Submitted by:	Eric Hanneken <eric@erichanneken.com>
This commit is contained in:
Greg Lewis 2020-05-16 20:50:32 +00:00
parent 5bfdeb02c8
commit 06b9067fd5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535500
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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