head 1.18; access; symbols pkgsrc-2026Q1:1.18.0.48 pkgsrc-2026Q1-base:1.18 pkgsrc-2025Q4:1.18.0.46 pkgsrc-2025Q4-base:1.18 pkgsrc-2025Q3:1.18.0.44 pkgsrc-2025Q3-base:1.18 pkgsrc-2025Q2:1.18.0.42 pkgsrc-2025Q2-base:1.18 pkgsrc-2025Q1:1.18.0.40 pkgsrc-2025Q1-base:1.18 pkgsrc-2024Q4:1.18.0.38 pkgsrc-2024Q4-base:1.18 pkgsrc-2024Q3:1.18.0.36 pkgsrc-2024Q3-base:1.18 pkgsrc-2024Q2:1.18.0.34 pkgsrc-2024Q2-base:1.18 pkgsrc-2024Q1:1.18.0.32 pkgsrc-2024Q1-base:1.18 pkgsrc-2023Q4:1.18.0.30 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.28 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.18.0.26 pkgsrc-2023Q2-base:1.18 pkgsrc-2023Q1:1.18.0.24 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.22 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.18.0.20 pkgsrc-2022Q3-base:1.18 pkgsrc-2022Q2:1.18.0.18 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.18.0.16 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.14 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.18.0.12 pkgsrc-2021Q3-base:1.18 pkgsrc-2021Q2:1.18.0.10 pkgsrc-2021Q2-base:1.18 pkgsrc-2021Q1:1.18.0.8 pkgsrc-2021Q1-base:1.18 pkgsrc-2020Q4:1.18.0.6 pkgsrc-2020Q4-base:1.18 pkgsrc-2020Q3:1.18.0.4 pkgsrc-2020Q3-base:1.18 pkgsrc-2020Q2:1.18.0.2 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.17.0.16 pkgsrc-2020Q1-base:1.17 pkgsrc-2019Q4:1.17.0.18 pkgsrc-2019Q4-base:1.17 pkgsrc-2019Q3:1.17.0.14 pkgsrc-2019Q3-base:1.17 pkgsrc-2019Q2:1.17.0.12 pkgsrc-2019Q2-base:1.17 pkgsrc-2019Q1:1.17.0.10 pkgsrc-2019Q1-base:1.17 pkgsrc-2018Q4:1.17.0.8 pkgsrc-2018Q4-base:1.17 pkgsrc-2018Q3:1.17.0.6 pkgsrc-2018Q3-base:1.17 pkgsrc-2018Q2:1.17.0.4 pkgsrc-2018Q2-base:1.17 pkgsrc-2018Q1:1.17.0.2 pkgsrc-2018Q1-base:1.17 pkgsrc-2017Q4:1.16.0.22 pkgsrc-2017Q4-base:1.16 pkgsrc-2017Q3:1.16.0.20 pkgsrc-2017Q3-base:1.16 pkgsrc-2017Q2:1.16.0.16 pkgsrc-2017Q2-base:1.16 pkgsrc-2017Q1:1.16.0.14 pkgsrc-2017Q1-base:1.16 pkgsrc-2016Q4:1.16.0.12 pkgsrc-2016Q4-base:1.16 pkgsrc-2016Q3:1.16.0.10 pkgsrc-2016Q3-base:1.16 pkgsrc-2016Q2:1.16.0.8 pkgsrc-2016Q2-base:1.16 pkgsrc-2016Q1:1.16.0.6 pkgsrc-2016Q1-base:1.16 pkgsrc-2015Q4:1.16.0.4 pkgsrc-2015Q4-base:1.16 pkgsrc-2015Q3:1.16.0.2 pkgsrc-2015Q3-base:1.16 pkgsrc-2015Q2:1.15.0.22 pkgsrc-2015Q2-base:1.15 pkgsrc-2015Q1:1.15.0.20 pkgsrc-2015Q1-base:1.15 pkgsrc-2014Q4:1.15.0.18 pkgsrc-2014Q4-base:1.15 pkgsrc-2014Q3:1.15.0.16 pkgsrc-2014Q3-base:1.15 pkgsrc-2014Q2:1.15.0.14 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.15.0.12 pkgsrc-2014Q1-base:1.15 pkgsrc-2013Q4:1.15.0.10 pkgsrc-2013Q4-base:1.15 pkgsrc-2013Q3:1.15.0.8 pkgsrc-2013Q3-base:1.15 pkgsrc-2013Q2:1.15.0.6 pkgsrc-2013Q2-base:1.15 pkgsrc-2013Q1:1.15.0.4 pkgsrc-2013Q1-base:1.15 pkgsrc-2012Q4:1.15.0.2 pkgsrc-2012Q4-base:1.15 pkgsrc-2012Q3:1.14.0.22 pkgsrc-2012Q3-base:1.14 pkgsrc-2012Q2:1.14.0.20 pkgsrc-2012Q2-base:1.14 pkgsrc-2012Q1:1.14.0.18 pkgsrc-2012Q1-base:1.14 pkgsrc-2011Q4:1.14.0.16 pkgsrc-2011Q4-base:1.14 pkgsrc-2011Q3:1.14.0.14 pkgsrc-2011Q3-base:1.14 pkgsrc-2011Q2:1.14.0.12 pkgsrc-2011Q2-base:1.14 pkgsrc-2011Q1:1.14.0.10 pkgsrc-2011Q1-base:1.14 pkgsrc-2010Q4:1.14.0.8 pkgsrc-2010Q4-base:1.14 pkgsrc-2010Q3:1.14.0.6 pkgsrc-2010Q3-base:1.14 pkgsrc-2010Q2:1.14.0.4 pkgsrc-2010Q2-base:1.14 pkgsrc-2010Q1:1.14.0.2 pkgsrc-2010Q1-base:1.14 pkgsrc-2009Q4:1.12.0.10 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.8 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.6 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.4 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.2 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.11.0.18 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.16 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.14 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.12 pkgsrc-2008Q1:1.11.0.10 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.8 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.6 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.4 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.2 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.9.0.6 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.4 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.2 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.7.0.6 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.4 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.2 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.18 date 2020.05.20.06.09.04; author rillig; state Exp; branches; next 1.17; commitid YzMn9nHhuSomwW8C; 1.17 date 2018.01.14.17.33.59; author rillig; state Exp; branches; next 1.16; commitid x3p17A5ooWt7SRmA; 1.16 date 2015.07.04.16.18.34; author joerg; state Exp; branches; next 1.15; commitid EoZkjndZ4qhBbZry; 1.15 date 2012.10.06.11.54.42; author asau; state Exp; branches; next 1.14; 1.14 date 2010.02.01.00.01.50; author joerg; state Exp; branches; next 1.13; 1.13 date 2010.01.29.23.08.33; author joerg; state Exp; branches; next 1.12; 1.12 date 2008.11.25.03.15.32; author chuck; state Exp; branches; next 1.11; 1.11 date 2007.03.24.19.21.23; author joerg; state Exp; branches; next 1.10; 1.10 date 2007.02.02.18.47.51; author joerg; state Exp; branches; next 1.9; 1.9 date 2006.06.15.13.31.29; author wiz; state Exp; branches; next 1.8; 1.8 date 2006.02.05.23.09.16; author joerg; state Exp; branches; next 1.7; 1.7 date 2005.06.01.18.02.50; author jlam; state Exp; branches; next 1.6; 1.6 date 2003.07.17.21.38.42; author grant; state Exp; branches; next 1.5; 1.5 date 2001.03.19.20.00.06; author wiz; state Exp; branches; next 1.4; 1.4 date 2001.02.16.15.10.51; author wiz; state Exp; branches; next 1.3; 1.3 date 99.01.30.23.18.47; author agc; state Exp; branches; next 1.2; 1.2 date 98.08.27.14.06.08; author garbled; state Exp; branches; next 1.1; 1.1 date 98.07.26.22.13.16; author frueauf; state Exp; branches; next ; desc @@ 1.18 log @mark packages that fail with -Werror=char-subscripts These packages are susceptible to bugs when confronted with non-ASCII characters. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182. It takes some time to analyze and fix these individually, therefore they are only marked as "needs work". @ text @# $NetBSD: Makefile,v 1.17 2018/01/14 17:33:59 rillig Exp $ # DISTNAME= golddigC3.1 PKGNAME= golddig-3.1 PKGREVISION= 1 CATEGORIES= games x11 MASTER_SITES= http://www.NetBSD.org/~chuck/gz/ MAINTAINER= pkgsrc-users@@NetBSD.org COMMENT= Fast action game designed for use with X # badguy.c: In function 'move_badguys': # badguy.c:321:51: error: array subscript has type 'char' [-Werror=char-subscripts] # if((x & 1) == 0 && (y & 1) == 0 && fast_lookup[below].code & STOPBAD) { # ^ # Maybe fix this later. BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \ MAN=${DESTDIR}${PREFIX}/${PKGMANDIR}/man6 SCORE_GROUP= ${GAMES_GROUP} PKG_GROUPS= ${SCORE_GROUP} SETGIDGAME= yes SPECIAL_PERMS+= bin/goldgid ${SETGID_GAMES_PERMS} CONF_FILES_PERMS+= /dev/null /var/games/golddig.scores \ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE} post-build: for f in ${WRKSRC}/golddig.6 ${WRKSRC}/gdedit.6; do \ ${SED} "s|@@PREFIX@@|${PREFIX}|g" $$f > $$f.new && \ ${MV} $$f.new $$f; \ done .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.17 log @games/*: fix alignment of variable values pkglint -Wall -r --autofix --only aligned After running the above command, three packages had to be adjusted manually: In maelstrom-x11, pkglint didn't see that a commented variable assignment should have been re-aligned as well. In netmaze, there was a single line that didn't align well with all the others, but pkglint decided to adjust the whole paragraph to this single line. The result would have been ok, but not good. In tscp, there was a paragraph where some of the lines were indented one space more than the others. This rule is useful when one variable name is very long compared to the others, but not in this case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2015/07/04 16:18:34 joerg Exp $ d13 7 @ 1.16 log @Remove USE_X11BASE and X11PREFIX. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2012/10/06 11:54:42 asau Exp $ d17 2 a18 2 SCORE_GROUP= ${GAMES_GROUP} PKG_GROUPS= ${SCORE_GROUP} @ 1.15 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2010/02/01 00:01:50 joerg Exp $ a12 2 USE_X11BASE= yes @ 1.14 log @SETGIDGAME. Fix score handling. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2010/01/29 23:08:33 joerg Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.13 log @DESTDIR support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2008/11/25 03:15:32 chuck Exp $ d6 1 d21 1 a21 1 SCORE_GROUP= games d24 6 a29 1 MAKE_ENV+= SCORE_GROUP=${SCORE_GROUP:Q} @ 1.12 log @update to 3.1, where i got rid of a couple of compile-time warnings and revised the make install target in hopes of having it work better with pkgsrc and setgid games (didn't get any feedback on pkgsrc setgid games, so I took my best shot at it). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2007/03/24 19:21:23 joerg Exp $ d12 2 d17 2 @ 1.11 log @Prepare for switching to NO_MTREE=yes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2007/02/02 18:47:51 joerg Exp $ d4 2 a5 3 DISTNAME= golddigC3.0 PKGNAME= golddig-3.0 PKGREVISION= 1 d16 5 @ 1.10 log @Modular Xorg support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2006/06/15 13:31:29 wiz Exp $ d15 2 @ 1.9 log @Drop maintainership, I don't use them any longer. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2006/02/05 23:09:16 joerg Exp $ a13 1 .include "../../mk/x11.buildlink3.mk" d21 1 @ 1.8 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2005/06/01 18:02:50 jlam Exp $ d10 1 a10 1 MAINTAINER= wiz@@NetBSD.org @ 1.7 log @Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. , and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2003/07/17 21:38:42 grant Exp $ d6 1 @ 1.6 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2001/03/19 20:00:06 wiz Exp $ d13 1 @ 1.5 log @Update to 3.0; based on 3.0beta version by the author and color patches by Chuck Cranor, and some cleanup by me: now with color-support and 8 new levels. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2001/02/16 15:10:51 wiz Exp $ d7 1 a7 1 MASTER_SITES= http://www.netbsd.org/~chuck/gz/ d9 1 a9 1 MAINTAINER= wiz@@netbsd.org @ 1.4 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1999/01/30 23:18:47 agc Exp $ d4 2 a5 2 DISTNAME= golddig2 PKGNAME= golddig-2.0 d7 1 a7 1 MASTER_SITES= ftp://uiarchive.cso.uiuc.edu/pub/systems/linux/sunsite/games/arcade/ d9 1 a9 1 MAINTAINER= root@@garbled.net d14 5 a18 2 post-extract: ${RM} ${WRKSRC}/golddig ${WRKSRC}/makelev ${WRKSRC}/*.o @ 1.3 log @Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this package into ${X11BASE}". Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11 headers and libraries to build this package". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1998/08/27 14:06:08 garbled Exp $ d10 1 @ 1.2 log @Remove a ton of cruft relating to ELF building of pkgs. The trick I had previously used with OBJECT_FMT is not necc. with the revelation that -Wl,-R works. Also fixed alot of PREFIX -> X11BASE typos. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 1998/07/26 22:13:16 frueauf Exp $ d11 1 a11 1 USE_X11= yes @ 1.1 log @Initial addition of golddig-2.0, a fast action game designed for use with X. Closes pr 5854 by Tim Rightnour. @ text @d1 1 a1 1 # $NetBSD$ a16 4 .if (${OBJECT_FMT} == "ELF") RPATH= -Wl,-rpath,${PREFIX}/lib .endif MAKE_ENV+= RPATH=${RPATH} @