head 1.35; access; symbols pkgsrc-2023Q4:1.35.0.26 pkgsrc-2023Q4-base:1.35 pkgsrc-2023Q3:1.35.0.24 pkgsrc-2023Q3-base:1.35 pkgsrc-2023Q2:1.35.0.22 pkgsrc-2023Q2-base:1.35 pkgsrc-2023Q1:1.35.0.20 pkgsrc-2023Q1-base:1.35 pkgsrc-2022Q4:1.35.0.18 pkgsrc-2022Q4-base:1.35 pkgsrc-2022Q3:1.35.0.16 pkgsrc-2022Q3-base:1.35 pkgsrc-2022Q2:1.35.0.14 pkgsrc-2022Q2-base:1.35 pkgsrc-2022Q1:1.35.0.12 pkgsrc-2022Q1-base:1.35 pkgsrc-2021Q4:1.35.0.10 pkgsrc-2021Q4-base:1.35 pkgsrc-2021Q3:1.35.0.8 pkgsrc-2021Q3-base:1.35 pkgsrc-2021Q2:1.35.0.6 pkgsrc-2021Q2-base:1.35 pkgsrc-2021Q1:1.35.0.4 pkgsrc-2021Q1-base:1.35 pkgsrc-2020Q4:1.35.0.2 pkgsrc-2020Q4-base:1.35 pkgsrc-2020Q3:1.34.0.8 pkgsrc-2020Q3-base:1.34 pkgsrc-2020Q2:1.34.0.6 pkgsrc-2020Q2-base:1.34 pkgsrc-2020Q1:1.34.0.2 pkgsrc-2020Q1-base:1.34 pkgsrc-2019Q4:1.34.0.4 pkgsrc-2019Q4-base:1.34 pkgsrc-2019Q3:1.33.0.38 pkgsrc-2019Q3-base:1.33 pkgsrc-2019Q2:1.33.0.36 pkgsrc-2019Q2-base:1.33 pkgsrc-2019Q1:1.33.0.34 pkgsrc-2019Q1-base:1.33 pkgsrc-2018Q4:1.33.0.32 pkgsrc-2018Q4-base:1.33 pkgsrc-2018Q3:1.33.0.30 pkgsrc-2018Q3-base:1.33 pkgsrc-2018Q2:1.33.0.28 pkgsrc-2018Q2-base:1.33 pkgsrc-2018Q1:1.33.0.26 pkgsrc-2018Q1-base:1.33 pkgsrc-2017Q4:1.33.0.24 pkgsrc-2017Q4-base:1.33 pkgsrc-2017Q3:1.33.0.22 pkgsrc-2017Q3-base:1.33 pkgsrc-2017Q2:1.33.0.18 pkgsrc-2017Q2-base:1.33 pkgsrc-2017Q1:1.33.0.16 pkgsrc-2017Q1-base:1.33 pkgsrc-2016Q4:1.33.0.14 pkgsrc-2016Q4-base:1.33 pkgsrc-2016Q3:1.33.0.12 pkgsrc-2016Q3-base:1.33 pkgsrc-2016Q2:1.33.0.10 pkgsrc-2016Q2-base:1.33 pkgsrc-2016Q1:1.33.0.8 pkgsrc-2016Q1-base:1.33 pkgsrc-2015Q4:1.33.0.6 pkgsrc-2015Q4-base:1.33 pkgsrc-2015Q3:1.33.0.4 pkgsrc-2015Q3-base:1.33 pkgsrc-2015Q2:1.33.0.2 pkgsrc-2015Q2-base:1.33 pkgsrc-2015Q1:1.32.0.6 pkgsrc-2015Q1-base:1.32 pkgsrc-2014Q4:1.32.0.4 pkgsrc-2014Q4-base:1.32 pkgsrc-2014Q3:1.32.0.2 pkgsrc-2014Q3-base:1.32 pkgsrc-2014Q2:1.31.0.12 pkgsrc-2014Q2-base:1.31 pkgsrc-2014Q1:1.31.0.10 pkgsrc-2014Q1-base:1.31 pkgsrc-2013Q4:1.31.0.8 pkgsrc-2013Q4-base:1.31 pkgsrc-2013Q3:1.31.0.6 pkgsrc-2013Q3-base:1.31 pkgsrc-2013Q2:1.31.0.4 pkgsrc-2013Q2-base:1.31 pkgsrc-2013Q1:1.31.0.2 pkgsrc-2013Q1-base:1.31 pkgsrc-2012Q4:1.28.0.2 pkgsrc-2012Q4-base:1.28 pkgsrc-2012Q3:1.27.0.8 pkgsrc-2012Q3-base:1.27 pkgsrc-2012Q2:1.27.0.6 pkgsrc-2012Q2-base:1.27 pkgsrc-2012Q1:1.27.0.4 pkgsrc-2012Q1-base:1.27 pkgsrc-2011Q4:1.27.0.2 pkgsrc-2011Q4-base:1.27 pkgsrc-2011Q3:1.26.0.18 pkgsrc-2011Q3-base:1.26 pkgsrc-2011Q2:1.26.0.16 pkgsrc-2011Q2-base:1.26 pkgsrc-2011Q1:1.26.0.14 pkgsrc-2011Q1-base:1.26 pkgsrc-2010Q4:1.26.0.12 pkgsrc-2010Q4-base:1.26 pkgsrc-2010Q3:1.26.0.10 pkgsrc-2010Q3-base:1.26 pkgsrc-2010Q2:1.26.0.8 pkgsrc-2010Q2-base:1.26 pkgsrc-2010Q1:1.26.0.6 pkgsrc-2010Q1-base:1.26 pkgsrc-2009Q4:1.26.0.4 pkgsrc-2009Q4-base:1.26 pkgsrc-2009Q3:1.26.0.2 pkgsrc-2009Q3-base:1.26 pkgsrc-2009Q2:1.25.0.16 pkgsrc-2009Q2-base:1.25 pkgsrc-2009Q1:1.25.0.14 pkgsrc-2009Q1-base:1.25 pkgsrc-2008Q4:1.25.0.12 pkgsrc-2008Q4-base:1.25 pkgsrc-2008Q3:1.25.0.10 pkgsrc-2008Q3-base:1.25 cube-native-xorg:1.25.0.8 cube-native-xorg-base:1.25 pkgsrc-2008Q2:1.25.0.6 pkgsrc-2008Q2-base:1.25 cwrapper:1.25.0.4 pkgsrc-2008Q1:1.25.0.2 pkgsrc-2008Q1-base:1.25 pkgsrc-2007Q4:1.24.0.4 pkgsrc-2007Q4-base:1.24 pkgsrc-2007Q3:1.24.0.2 pkgsrc-2007Q3-base:1.24 pkgsrc-2007Q2:1.22.0.4 pkgsrc-2007Q2-base:1.22 pkgsrc-2007Q1:1.22.0.2 pkgsrc-2007Q1-base:1.22 pkgsrc-2006Q4:1.20.0.4 pkgsrc-2006Q4-base:1.20 pkgsrc-2006Q3:1.20.0.2 pkgsrc-2006Q3-base:1.20 pkgsrc-2006Q2:1.19.0.2 pkgsrc-2006Q2-base:1.19 pkgsrc-2006Q1:1.18.0.2 pkgsrc-2006Q1-base:1.18 pkgsrc-2005Q4:1.17.0.6 pkgsrc-2005Q4-base:1.17 pkgsrc-2005Q3:1.17.0.4 pkgsrc-2005Q3-base:1.17 pkgsrc-2005Q2:1.17.0.2 pkgsrc-2005Q2-base:1.17 pkgsrc-2005Q1:1.14.0.10 pkgsrc-2005Q1-base:1.14 pkgsrc-2004Q4:1.14.0.8 pkgsrc-2004Q4-base:1.14 pkgsrc-2004Q3:1.14.0.6 pkgsrc-2004Q3-base:1.14 pkgsrc-2004Q2:1.14.0.4 pkgsrc-2004Q2-base:1.14 pkgsrc-2004Q1:1.14.0.2 pkgsrc-2004Q1-base:1.14 pkgsrc-2003Q4:1.10.0.2 pkgsrc-2003Q4-base:1.10 netbsd-1-6-1:1.8.0.6 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH001:1.7 netbsd-1-5-RELEASE:1.6 netbsd-1-4-PATCH003:1.6 netbsd-1-4-PATCH002:1.6 comdex-fall-1999:1.5 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.35 date 2020.11.29.03.11.54; author dholland; state Exp; branches; next 1.34; commitid 4JvqUUOe7dlZjJxC; 1.34 date 2019.11.03.19.28.47; author rillig; state Exp; branches; next 1.33; commitid ZNZBHdbtmRabmrJB; 1.33 date 2015.06.25.06.22.11; author dholland; state Exp; branches; next 1.32; commitid O9n8Mm2vdGHWaMqy; 1.32 date 2014.09.13.07.30.15; author dholland; state Exp; branches; next 1.31; commitid Vjb8D10OXCboG9Qx; 1.31 date 2013.01.21.06.56.38; author dholland; state Exp; branches; next 1.30; 1.30 date 2013.01.21.05.19.45; author dholland; state Exp; branches; next 1.29; 1.29 date 2013.01.21.00.07.31; author dholland; state Exp; branches; next 1.28; 1.28 date 2012.10.06.11.54.33; author asau; state Exp; branches; next 1.27; 1.27 date 2011.12.20.16.18.16; author dholland; state Exp; branches; next 1.26; 1.26 date 2009.07.08.17.20.52; author joerg; state Exp; branches; next 1.25; 1.25 date 2008.01.19.09.16.20; author wiz; state Exp; branches; next 1.24; 1.24 date 2007.09.25.10.03.52; author hira; state Exp; branches; next 1.23; 1.23 date 2007.09.25.08.31.53; author hira; state Exp; branches; next 1.22; 1.22 date 2007.03.06.22.57.46; author rillig; state Exp; branches; next 1.21; 1.21 date 2007.02.02.17.36.22; author joerg; state Exp; branches; next 1.20; 1.20 date 2006.07.02.10.09.56; author rillig; state Exp; branches; next 1.19; 1.19 date 2006.05.11.14.00.54; author joerg; state Exp; branches; next 1.18; 1.18 date 2006.02.05.23.09.13; author joerg; state Exp; branches; next 1.17; 1.17 date 2005.06.01.18.02.49; author jlam; state Exp; branches; next 1.16; 1.16 date 2005.05.22.20.08.00; author jlam; state Exp; branches; next 1.15; 1.15 date 2005.04.11.21.45.49; author tv; state Exp; branches; next 1.14; 1.14 date 2004.03.10.02.44.36; author snj; state Exp; branches; next 1.13; 1.13 date 2004.01.27.00.53.12; author heinz; state Exp; branches; next 1.12; 1.12 date 2004.01.24.13.30.55; author grant; state Exp; branches; next 1.11; 1.11 date 2004.01.20.12.15.40; author agc; state Exp; branches; next 1.10; 1.10 date 2003.09.26.14.04.54; author tron; state Exp; branches; next 1.9; 1.9 date 2003.03.29.12.41.01; author jmmv; state Exp; branches; next 1.8; 1.8 date 2001.05.19.03.56.35; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.02.16.15.10.45; author wiz; state Exp; branches; next 1.6; 1.6 date 2000.01.02.03.20.10; author wiz; state Exp; branches; next 1.5; 1.5 date 99.08.11.22.42.22; author tron; state Exp; branches; next 1.4; 1.4 date 99.08.11.22.20.56; author tron; state Exp; branches; next 1.3; 1.3 date 99.08.11.22.01.46; author tron; state Exp; branches; next 1.2; 1.2 date 99.01.30.23.18.47; author agc; state Exp; branches; next 1.1; 1.1 date 98.10.13.00.37.33; author garbled; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.10.13.00.37.33; author garbled; state Exp; branches; next ; desc @@ 1.35 log @Make games/craft build again. The custom C++ preprocessor thingy has been choking for a while on clang; recently gcc's jointed the party. Work around this by building it with -g instead of -O2. (For me at least with gcc, while -O2 produces a tool that gives spurious syntax errors, plain -O gives one that loops forever instead, which isn't an improvement.) Maybe someday someone will bother to find out where the undefined behavior is. Also build the actual game with -Wno-return-type to silence complaints about dead functions not declared as dead and similar, and while here adjust things so it still installs correctly regardless of umask. @ text @# $NetBSD: Makefile,v 1.34 2019/11/03 19:28:47 rillig Exp $ DISTNAME= craftcc35 PKGNAME= craft-3.5 PKGREVISION= 5 CATEGORIES= games x11 MASTER_SITES= http://ibiblio.org/pub/linux/games/strategy/ EXTRACT_SUFX= .tar.Z PATCH_SITES= http://www.NetBSD.org/~dholland/patchkits/craft/ PATCHFILES= craft-jumbo-patch-20140913.gz PATCH_DIST_STRIP= -p1 MAINTAINER= pkgsrc-users@@NetBSD.org # Gone as of 20130120, no obvious replacement #HOMEPAGE= http://set.gmd.de/~hua/ COMMENT= Warcraft-like game for X11 WRKSRC= ${WRKDIR} USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config DEPENDS+= netpbm>=10:../../graphics/netpbm HAS_CONFIGURE= yes CONFIGURE_ARGS= --destdir=${DESTDIR} --prefix=${PREFIX} # Note for reference that there's a craftdoc.tar.Z that can also be # downloaded; the only thing it contains that isn't in the main # distfile is a few unreferenced images. # XXX: this calls system("csh -f -c ...") in a few places. These # really ought to be patched out. USE_TOOLS+= csh:run SUBST_CLASSES+= buttons SUBST_STAGE.buttons= pre-configure SUBST_FILES.buttons= .windefaults.params SUBST_SED.buttons= -e 's+buttons+${PREFIX}/share/craft/buttons+' INSTALLATION_DIRS= bin .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mclang) || !empty(PKGSRC_COMPILER:Mgcc) CFLAGS+=-Wno-return-type .endif post-extract: find ${WRKSRC} -type f -name '*~' -print | xargs rm -f for f in `find ${WRKSRC} -name "*.hc" -type f -print`; do \ ${ECHO} "" >> "$$f"; \ done ${CHMOD} a-x ${WRKSRC}/html/pic/*.gif ${CHMOD} a-x ${WRKSRC}/html/pic/craft.gif.old ${CHMOD} a-x ${WRKSRC}/html/craftcc.html rm -f ${WRKSRC}/hcc/hcc ${CHMOD} -R go+rX ${WRKSRC}/hcraft ${WRKSRC}/buttons ${WRKSRC}/html .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.34 log @games: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2015/06/25 06:22:11 dholland Exp $ d5 1 a5 1 PKGREVISION= 4 d41 5 d55 1 @ 1.33 log @Cast argument of sqrt to double to placate Solaris compiler. Also while here remove one article of pkglint. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2014/09/13 07:30:15 dholland Exp $ d10 3 a12 3 PATCH_SITES= http://www.NetBSD.org/~dholland/patchkits/craft/ PATCHFILES= craft-jumbo-patch-20140913.gz PATCH_DIST_STRIP= -p1 @ 1.32 log @Rev the distfile patch. - roll in patch-xfile.hc - fix build with the solaris compiler - use snprintf instead of sprintf (mostly) - tidy a few things There is a problem between this thing's precompiler and clang such that clang builds fail with spurious errors about unterminated string constants. I don't see what's wrong. Also, in the course of doing the snprintf changes I discovered that this depends on both csh and netpbm existing at runtime, so add the necessary bits. PKGREVISION -> 4. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2013/01/21 06:56:38 dholland Exp $ d10 1 a11 1 PATCH_SITES= http://www.NetBSD.org/~dholland/patchkits/craft/ @ 1.31 log @Oops. PATCH_SITES, not PATCHSITES... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2013/01/21 05:19:45 dholland Exp $ d5 1 a5 1 PKGREVISION= 3 d10 1 a10 1 PATCHFILES= craft-jumbo-patch-20130120.gz d22 1 d30 4 @ 1.30 log @Roll the existing patches into a distfile patch. In the course of doing so: Fix the fix previously in patch-ah (for platforms where char is unsigned by default) to not generate spurious EOF indications. Improve the fixes previously in patch-a[bcdef] to put the game's state file in $HOME/.craft instead of the current directory. Use a consistent method to set $PREFIX instead of a mixture of compiler flags, patching, and SUBST. Use pkg-config to find libX11, and clean up some pkglint. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2013/01/21 00:07:31 dholland Exp $ d11 1 a11 1 PATCHSITES= http://www.NetBSD.org/~dholland/patchkits/craft/ @ 1.29 log @HOMEPAGE has disappeared, comment it out. The coresponding MASTER_SITES has also disappeared, but there seem to be lots of copies of the distfile out on the net. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2012/10/06 11:54:33 asau Exp $ d5 1 a5 1 PKGREVISION= 2 d10 4 d21 3 a23 1 USE_X11BASE= yes a28 5 SUBST_CLASSES+= craft SUBST_STAGE.craft= pre-configure SUBST_FILES.craft= win.hc setupedit.hc option_menu.hc craft_def.h SUBST_VARS.craft= PREFIX a37 1 ln -fs ${FILESDIR}/Makefile ${WRKSRC} d39 1 a39 1 ${ECHO} "" >>$$f; \ @ 1.28 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2011/12/20 16:18:16 dholland Exp $ d7 1 a7 1 MASTER_SITES= ftp://set.gmd.de/pub/as/janus/craft/ d11 2 a12 1 HOMEPAGE= http://set.gmd.de/~hua/ d19 4 @ 1.27 log @Assorted fixes and cleanup. - if we're going to supply the build makefile, it shouldn't require gmake. - don't install executable html or gif files - add patch comments - const correctness for string constants, as demanded by gcc 4.5 - avoid needing -lcompat - fix a y2038 issue PKGREVISION -> 2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2009/07/08 17:20:52 joerg Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.26 log @user-destdir support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2008/01/19 09:16:20 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 a17 1 USE_TOOLS+= gmake d38 3 a40 2 post-patch: a42 5 .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Linux" BUILDLINK_TRANSFORM+= rm:-lcompat .endif @ 1.25 log @Reset maintainer on his request. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2007/09/25 10:03:52 hira Exp $ d14 2 d31 2 @ 1.24 log @Back out previous. Pointed out by uebayasi@@ and martti@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2007/09/25 08:31:53 hira Exp $ d10 1 a10 1 MAINTAINER= root@@garbled.net @ 1.23 log @ln -> ${LN}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2007/03/06 22:57:46 rillig Exp $ d31 1 a31 1 ${LN} -fs ${FILESDIR}/Makefile ${WRKSRC} @ 1.22 log @Fixed PR 29378. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2007/02/02 17:36:22 joerg Exp $ d31 1 a31 1 ln -fs ${FILESDIR}/Makefile ${WRKSRC} @ 1.21 log @Modlar Xorg support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2006/07/02 10:09:56 rillig Exp $ d19 10 d30 4 a33 4 @@${FIND} ${WRKSRC} -type f -name '*~' -print | ${XARGS} ${RM} -f @@${LN} -fs ${FILESDIR}/Makefile ${WRKSRC} for FILE in `${FIND} ${WRKSRC} -name "*.hc" -type f -print`; do \ ${ECHO} >>$$FILE ""; \ d37 6 a42 12 ${RM} -f ${WRKSRC}/hcc/hcc ${CP} ${WRKSRC}/.windefaults.params ${WRKSRC}/foo ${SED} -e 's+buttons+${PREFIX}/share/craft/buttons+' <${WRKSRC}/foo> ${WRKSRC}/.windefaults.params ${CP} ${WRKSRC}/win.hc ${WRKSRC}/foo ${SED} -e 's+@@PREFIX@@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/win.hc ${CP} ${WRKSRC}/setupedit.hc ${WRKSRC}/foo ${SED} -e 's+@@PREFIX@@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/setupedit.hc ${CP} ${WRKSRC}/option_menu.hc ${WRKSRC}/foo ${SED} -e 's+@@PREFIX@@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/option_menu.hc ${CP} ${WRKSRC}/craft_def.h ${WRKSRC}/foo ${SED} -e 's+@@PREFIX@@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/craft_def.h ${RM} -f ${WRKSRC}/foo @ 1.20 log @Needs a C compiler. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2006/05/11 14:00:54 joerg Exp $ a18 2 .include "../../mk/x11.buildlink3.mk" d40 1 @ 1.19 log @Uses C++. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2006/02/05 23:09:13 joerg Exp $ d15 1 a15 1 USE_LANGUAGES= c++ @ 1.18 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2005/06/01 18:02:49 jlam Exp $ d15 1 @ 1.17 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.16 2005/05/22 20:08:00 jlam Exp $ d5 1 @ 1.16 log @Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2005/04/11 21:45:49 tv Exp $ d17 2 @ 1.15 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2004/03/10 02:44:36 snj Exp $ d14 1 a14 1 USE_GNU_TOOLS+= make @ 1.14 log @Use bl3 and ${ECHO} instead of echo. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2004/01/27 00:53:12 heinz Exp $ a13 1 USE_BUILDLINK3= yes @ 1.13 log @Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2004/01/24 13:30:55 grant Exp $ d14 1 d22 1 a22 1 echo >>$$FILE ""; \ @ 1.12 log @replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2004/01/20 12:15:40 agc Exp $ d18 1 a18 1 @@${FIND} ${WRKSRC} -type f -name '*~' | ${XARGS} ${RM} -f d20 1 a20 1 for FILE in `find ${WRKSRC} -name "*.hc" -type f`; do \ @ 1.11 log @Move WRKSRC definition away from the first paragraph in a Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2003/09/26 14:04:54 tron Exp $ d14 1 a14 1 USE_GMAKE= yes @ 1.10 log @Fix GCC 3.3.1 related build problem. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2003/03/29 12:41:01 jmmv Exp $ a4 1 WRKSRC= ${WRKDIR} d13 1 @ 1.9 log @Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2001/05/19 03:56:35 jlam Exp $ d20 3 @ 1.8 log @Use ${XARGS} instead of invoking xargs directly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2001/02/16 15:10:45 wiz Exp $ d5 1 a15 1 WRKSRC= ${WRKDIR} @ 1.7 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2000/01/02 03:20:10 wiz Exp $ d18 1 a18 1 @@${FIND} ${WRKSRC} -type f -name '*~' | xargs ${RM} -f @ 1.6 log @replaced some commands by their ${COMMAND} counterparts @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 1999/08/11 22:42:22 tron Exp $ d11 1 @ 1.5 log @Use host's appropriate nickname for master site and home page. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1999/08/11 22:20:56 tron Exp $ d17 1 a17 1 @@find ${WRKSRC} -type f -name '*~' | xargs ${RM} -f @ 1.4 log @- Don't create "Makefile" with a patch, copy it from "files" directory. - Use "${BSD_INSTALL_...}" instead "/usr/bin/install" with hard coded arguments. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1999/08/11 22:01:46 tron Exp $ d6 1 a6 1 MASTER_SITES= ftp://borneo.gmd.de/pub/as/janus/craft/ d10 1 a10 1 HOMEPAGE= http://borneo.gmd.de/~hua/ @ 1.3 log @Don't install editor backup files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1999/01/30 23:18:47 agc Exp $ a11 1 WRKSRC= ${WRKDIR} d14 1 d18 1 @ 1.2 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.1.1.1 1998/10/13 00:37:33 garbled Exp $ d3 5 a7 5 DISTNAME= craftcc35 PKGNAME= craft-3.5 CATEGORIES= games x11 MASTER_SITES= ftp://borneo.gmd.de/pub/as/janus/craft/ EXTRACT_SUFX= .tar.Z d9 2 a10 2 MAINTAINER= root@@garbled.net HOMEPAGE= http://borneo.gmd.de/~hua/ d12 6 a17 3 NO_WRKSUBDIR= yes USE_GMAKE= yes USE_X11BASE= yes @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d14 1 a14 1 USE_X11= yes @ 1.1.1.1 log @Initial import of craft-3.5 a Warcraft-like game for X11 @ text @@