svn commit: r535500 - in head/games/nethack36: . files
Greg Lewis
glewis at FreeBSD.org
Sat May 16 20:50:33 UTC 2020
Author: glewis
Date: Sat May 16 20:50:32 2020
New Revision: 535500
URL: https://svnweb.freebsd.org/changeset/ports/535500
Log:
Enable the "curses" window type
PR: 246483
Submitted by: Eric Hanneken <eric at erichanneken.com>
Modified:
head/games/nethack36/Makefile
head/games/nethack36/files/patch-sys-unix-Makefile.src
Modified: head/games/nethack36/Makefile
==============================================================================
--- head/games/nethack36/Makefile Sat May 16 20:16:48 2020 (r535499)
+++ head/games/nethack36/Makefile Sat May 16 20:50:32 2020 (r535500)
@@ -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
Modified: head/games/nethack36/files/patch-sys-unix-Makefile.src
==============================================================================
--- head/games/nethack36/files/patch-sys-unix-Makefile.src Sat May 16 20:16:48 2020 (r535499)
+++ head/games/nethack36/files/patch-sys-unix-Makefile.src Sat May 16 20:50:32 2020 (r535500)
@@ -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
More information about the svn-ports-all
mailing list