head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.22 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.20 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.18 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.16 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.14 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.12 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.10 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.8 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.6 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.4 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.2 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.3.0.30 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.28 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.26 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.24 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.22 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.20 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.18 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.16 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.14 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.12 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.10 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.8 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.6 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.4 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.2.0.16 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.14 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.12 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.10 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.8 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.6 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.4 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.2 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.1.0.54 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.50 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.48 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.46 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.44 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.42 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.40 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.38 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.36 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.34 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.32 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.30 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.28 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.26 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.24 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.22 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.20 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.18 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.16 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.14 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.12 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.10 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.8 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.6 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.4 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.2 pkgsrc-2011Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2023.09.02.13.45.14; author rhialto; state Exp; branches; next 1.4; commitid sZwdIYDMMYR2ucDE; 1.4 date 2023.08.27.15.59.19; author rhialto; state Exp; branches; next 1.3; commitid 3vjfIobl16u9qrCE; 1.3 date 2019.10.24.11.51.23; author pho; state Exp; branches; next 1.2; commitid oPzx28JwVsMd97IB; 1.2 date 2017.12.14.16.13.31; author jperkin; state Exp; branches; next 1.1; commitid SmXUFE0TcxubqSiA; 1.1 date 2011.06.01.11.20.29; author wiz; state Exp; branches; next ; desc @@ 1.5 log @games/nethack*: enable curses user interface The "nethack" wrapper script that papers over the existence of nethack-tty and nethack-x11 has been made more like the original way to select UIs (since there are now 3, and each game binary supports more than one of them). @ text @$NetBSD: patch-sys_unix_Makefile.utl,v 1.4 2023/08/27 15:59:19 rhialto Exp $ Make included UI types configurable. --- sys/unix/Makefile.utl.orig 2023-02-15 21:52:57.000000000 +0000 +++ sys/unix/Makefile.utl @@@@ -94,7 +94,7 @@@@ NHSROOT=.. # flags for debugging: # CFLAGS = -g -I../include -#CFLAGS = -O -I../include +CFLAGS += -I../include #LFLAGS = # we specify C preprocessor flags via CFLAGS; files built with default rules @ 1.4 log @games/nethack-lib: enhance patches to make wip/nethack-curses possible. @ text @d1 1 a1 1 $NetBSD: patch-sys_unix_Makefile.utl,v 1.3 2019/10/24 11:51:23 pho Exp $ d3 1 a3 1 Make window system configurable. d12 1 a12 1 +CFLAGS = -I../include a15 17 @@@@ -104,6 +104,16 @@@@ CPPFLAGS = LIBS = +.if "${GTYPE}" == "-tty" +CFLAGS += -DGTYPE_TTY +.elif "${GTYPE}" == "-curses" +CFLAGS += -DGTYPE_CURSES +.elif "${GTYPE}" == "-x11" +CFLAGS += -DGTYPE_X11 +.elif "${GTYPE}" == "-qt" +CFLAGS += -DGTYPE_QT +.endif + # If you are cross-compiling, you must use this: #OBJDIR = . # otherwise, you can save a little bit of disk space with this: @ 1.3 log @Update to NetHack 3.6.2 See release notes for the changes from 3.4.3: * http://nethack.org/v360/release.html * http://nethack.org/v361/release.html * http://nethack.org/v362/release.html IMPORTANT NOTICE: Old 3.4.x save files are *incompatible* with this version (which isn't my fault). Files are now saved in /var/games/nethack360. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 Make configurable. d5 1 a5 1 --- sys/unix/Makefile.utl.orig 2019-05-08 07:00:16.000000000 +0000 d16 1 a16 1 @@@@ -104,6 +104,14 @@@@ CPPFLAGS = d22 2 @ 1.2 log @nethack-lib: Honour CFLAGS, simplify and fix patching. @ text @d1 1 a1 1 $NetBSD: patch-sys_unix_Makefile.utl,v 1.1 2011/06/01 11:20:29 wiz Exp $ d5 1 a5 1 --- sys/unix/Makefile.utl.orig 2003-12-07 23:39:13.000000000 +0000 d7 1 a7 1 @@@@ -89,11 +89,19 @@@@ d11 6 a16 3 -CFLAGS = -O -I../include +CFLAGS += -I../include LFLAGS = d19 1 a19 1 @ 1.1 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- sys/unix/Makefile.utl.orig 2011-05-27 15:13:59.000000000 +0000 d7 7 a13 1 @@@@ -94,6 +94,14 @@@@ LFLAGS = @