head 1.74; access; symbols pkgsrc-2023Q4:1.74.0.6 pkgsrc-2023Q4-base:1.74 pkgsrc-2023Q3:1.74.0.4 pkgsrc-2023Q3-base:1.74 pkgsrc-2023Q2:1.74.0.2 pkgsrc-2023Q2-base:1.74 pkgsrc-2023Q1:1.73.0.2 pkgsrc-2023Q1-base:1.73 pkgsrc-2022Q4:1.72.0.6 pkgsrc-2022Q4-base:1.72 pkgsrc-2022Q3:1.72.0.4 pkgsrc-2022Q3-base:1.72 pkgsrc-2022Q2:1.72.0.2 pkgsrc-2022Q2-base:1.72 pkgsrc-2022Q1:1.68.0.4 pkgsrc-2022Q1-base:1.68 pkgsrc-2021Q4:1.68.0.2 pkgsrc-2021Q4-base:1.68 pkgsrc-2021Q3:1.67.0.14 pkgsrc-2021Q3-base:1.67 pkgsrc-2021Q2:1.67.0.12 pkgsrc-2021Q2-base:1.67 pkgsrc-2021Q1:1.67.0.10 pkgsrc-2021Q1-base:1.67 pkgsrc-2020Q4:1.67.0.8 pkgsrc-2020Q4-base:1.67 pkgsrc-2020Q3:1.67.0.6 pkgsrc-2020Q3-base:1.67 pkgsrc-2020Q2:1.67.0.4 pkgsrc-2020Q2-base:1.67 pkgsrc-2020Q1:1.67.0.2 pkgsrc-2020Q1-base:1.67 pkgsrc-2019Q4:1.65.0.4 pkgsrc-2019Q4-base:1.65 pkgsrc-2019Q3:1.64.0.2 pkgsrc-2019Q3-base:1.64 pkgsrc-2019Q2:1.63.0.6 pkgsrc-2019Q2-base:1.63 pkgsrc-2019Q1:1.63.0.4 pkgsrc-2019Q1-base:1.63 pkgsrc-2018Q4:1.63.0.2 pkgsrc-2018Q4-base:1.63 pkgsrc-2018Q3:1.61.0.14 pkgsrc-2018Q3-base:1.61 pkgsrc-2018Q2:1.61.0.12 pkgsrc-2018Q2-base:1.61 pkgsrc-2018Q1:1.61.0.10 pkgsrc-2018Q1-base:1.61 pkgsrc-2017Q4:1.61.0.8 pkgsrc-2017Q4-base:1.61 pkgsrc-2017Q3:1.61.0.6 pkgsrc-2017Q3-base:1.61 pkgsrc-2017Q2:1.61.0.2 pkgsrc-2017Q2-base:1.61 pkgsrc-2017Q1:1.59.0.4 pkgsrc-2017Q1-base:1.59 pkgsrc-2016Q4:1.59.0.2 pkgsrc-2016Q4-base:1.59 pkgsrc-2016Q3:1.58.0.4 pkgsrc-2016Q3-base:1.58 pkgsrc-2016Q2:1.58.0.2 pkgsrc-2016Q2-base:1.58 pkgsrc-2016Q1:1.57.0.6 pkgsrc-2016Q1-base:1.57 pkgsrc-2015Q4:1.57.0.4 pkgsrc-2015Q4-base:1.57 pkgsrc-2015Q3:1.57.0.2 pkgsrc-2015Q3-base:1.57 pkgsrc-2015Q2:1.56.0.4 pkgsrc-2015Q2-base:1.56 pkgsrc-2015Q1:1.56.0.2 pkgsrc-2015Q1-base:1.56 pkgsrc-2014Q4:1.51.0.8 pkgsrc-2014Q4-base:1.51 pkgsrc-2014Q3:1.51.0.6 pkgsrc-2014Q3-base:1.51 pkgsrc-2014Q2:1.51.0.4 pkgsrc-2014Q2-base:1.51 pkgsrc-2014Q1:1.51.0.2 pkgsrc-2014Q1-base:1.51 pkgsrc-2013Q4:1.50.0.2 pkgsrc-2013Q4-base:1.50 pkgsrc-2013Q3:1.48.0.2 pkgsrc-2013Q3-base:1.48 pkgsrc-2013Q2:1.47.0.2 pkgsrc-2013Q2-base:1.47 pkgsrc-2013Q1:1.46.0.8 pkgsrc-2013Q1-base:1.46 pkgsrc-2012Q4:1.46.0.6 pkgsrc-2012Q4-base:1.46 pkgsrc-2012Q3:1.46.0.4 pkgsrc-2012Q3-base:1.46 pkgsrc-2012Q2:1.46.0.2 pkgsrc-2012Q2-base:1.46 pkgsrc-2012Q1:1.45.0.2 pkgsrc-2012Q1-base:1.45 pkgsrc-2011Q4:1.44.0.2 pkgsrc-2011Q4-base:1.44 pkgsrc-2011Q3:1.43.0.8 pkgsrc-2011Q3-base:1.43 pkgsrc-2011Q2:1.43.0.6 pkgsrc-2011Q2-base:1.43 pkgsrc-2011Q1:1.43.0.4 pkgsrc-2011Q1-base:1.43 pkgsrc-2010Q4:1.43.0.2 pkgsrc-2010Q4-base:1.43 pkgsrc-2010Q3:1.42.0.10 pkgsrc-2010Q3-base:1.42 pkgsrc-2010Q2:1.42.0.8 pkgsrc-2010Q2-base:1.42 pkgsrc-2010Q1:1.42.0.6 pkgsrc-2010Q1-base:1.42 pkgsrc-2009Q4:1.42.0.4 pkgsrc-2009Q4-base:1.42 pkgsrc-2009Q3:1.42.0.2 pkgsrc-2009Q3-base:1.42 pkgsrc-2009Q2:1.41.0.14 pkgsrc-2009Q2-base:1.41 pkgsrc-2009Q1:1.41.0.12 pkgsrc-2009Q1-base:1.41 pkgsrc-2008Q4:1.41.0.10 pkgsrc-2008Q4-base:1.41 pkgsrc-2008Q3:1.41.0.8 pkgsrc-2008Q3-base:1.41 cube-native-xorg:1.41.0.6 cube-native-xorg-base:1.41 pkgsrc-2008Q2:1.41.0.4 pkgsrc-2008Q2-base:1.41 cwrapper:1.41.0.2 pkgsrc-2008Q1:1.40.0.6 pkgsrc-2008Q1-base:1.40 pkgsrc-2007Q4:1.40.0.4 pkgsrc-2007Q4-base:1.40 pkgsrc-2007Q3:1.40.0.2 pkgsrc-2007Q3-base:1.40 pkgsrc-2007Q2:1.35.0.2 pkgsrc-2007Q2-base:1.35 pkgsrc-2007Q1:1.33.0.8 pkgsrc-2007Q1-base:1.33 jlam-pkgviews:1.33.0.6 jlam-pkgviews-base:1.33 pkgsrc-2006Q4:1.33.0.4 pkgsrc-2006Q4-base:1.33 pkgsrc-2006Q3:1.33.0.2 pkgsrc-2006Q3-base:1.33 pkgsrc-2006Q2:1.32.0.2 pkgsrc-2006Q2-base:1.32 tv-derecurse-eol:1.13.2.2 pkgsrc-2006Q1:1.26.0.2 pkgsrc-2006Q1-base:1.26 pkgsrc-2005Q4:1.22.0.2 pkgsrc-2005Q4-base:1.22 pkgsrc-2005Q3:1.19.0.2 pkgsrc-2005Q3-base:1.19 pkgsrc-2005Q2:1.16.0.2 pkgsrc-2005Q2-base:1.16 tv-derecurse:1.13.0.2 tv-derecurse-merge:1.13; locks; strict; comment @# @; 1.74 date 2023.05.09.12.16.01; author thor; state Exp; branches; next 1.73; commitid m50Y1gE0ZwabIhoE; 1.73 date 2023.03.04.23.29.24; author rillig; state Exp; branches; next 1.72; commitid znBcw0HBPkhHxRfE; 1.72 date 2022.05.24.13.08.26; author nia; state Exp; branches; next 1.71; commitid kSbncmA5Z3SjgjFD; 1.71 date 2022.04.16.08.58.19; author riastradh; state Exp; branches; next 1.70; commitid FrQ0NgzB3DBg6pAD; 1.70 date 2022.04.04.11.23.07; author riastradh; state Exp; branches; next 1.69; commitid jGk9U4TgudBQhSyD; 1.69 date 2022.04.03.10.33.44; author riastradh; state Exp; branches; next 1.68; commitid I11OYsTYZ9gU2KyD; 1.68 date 2021.10.22.19.00.06; author jperkin; state Exp; branches; next 1.67; commitid lVcLRAN78oZ83QdD; 1.67 date 2020.02.25.11.20.28; author tnn; state Exp; branches; next 1.66; commitid muUYXGdafG8vY2YB; 1.66 date 2020.02.13.00.40.35; author kamil; state Exp; branches; next 1.65; commitid U0AkSntTlHLKPrWB; 1.65 date 2019.11.21.21.11.22; author tnn; state Exp; branches; next 1.64; commitid JYKCsyYKI4j4lLLB; 1.64 date 2019.09.06.03.52.55; author ryoon; state Exp; branches; next 1.63; commitid otFEk2oEiXlH2UBB; 1.63 date 2018.11.12.13.34.39; author jperkin; state Exp; branches; next 1.62; commitid fupOrBAMnTnSPEZA; 1.62 date 2018.10.17.08.30.43; author jperkin; state Exp; branches; next 1.61; commitid 6shIBV7hmtwwZhWA; 1.61 date 2017.04.21.16.03.10; author maya; state Exp; branches; next 1.60; commitid Xow4RWTWmBaaYpOz; 1.60 date 2017.04.21.14.45.07; author ryoon; state Exp; branches; next 1.59; commitid dUsCwE91vWegypOz; 1.59 date 2016.11.10.20.58.46; author joerg; state Exp; branches 1.59.4.1; next 1.58; commitid ZG6NbiKdfl8ePCtz; 1.58 date 2016.05.26.16.03.04; author khorben; state Exp; branches; next 1.57; commitid 81Yj715x9gEDz08z; 1.57 date 2015.09.08.11.36.34; author jperkin; state Exp; branches; next 1.56; commitid 5p8ys5r17nZzurAy; 1.56 date 2015.02.16.11.01.40; author jperkin; state Exp; branches; next 1.55; commitid 5eueW5Oo8yoRRday; 1.55 date 2015.02.01.09.15.49; author obache; state Exp; branches; next 1.54; commitid Zl1DNKur3u6kLh8y; 1.54 date 2015.02.01.08.48.56; author obache; state Exp; branches; next 1.53; commitid 5TTYzSQAyZitBh8y; 1.53 date 2015.01.30.11.06.36; author obache; state Exp; branches; next 1.52; commitid tN3LOQ9ME9Our28y; 1.52 date 2015.01.12.04.54.19; author obache; state Exp; branches; next 1.51; commitid XtjKpLwTPftuXG5y; 1.51 date 2014.03.06.07.34.20; author uebayasi; state Exp; branches; next 1.50; commitid FZVl9sspyBQpSBrx; 1.50 date 2013.12.13.07.11.20; author obache; state Exp; branches; next 1.49; commitid x6PLpjBvPbuVpWgx; 1.49 date 2013.11.06.13.12.50; author obache; state Exp; branches; next 1.48; commitid lnSbIupNxG2tBdcx; 1.48 date 2013.08.18.11.45.33; author tron; state Exp; branches; next 1.47; commitid SbBfQVeqVM17HV1x; 1.47 date 2013.05.09.23.33.53; author riastradh; state Exp; branches; next 1.46; 1.46 date 2012.05.26.13.09.54; author obache; state Exp; branches; next 1.45; 1.45 date 2012.01.14.07.44.34; author obache; state Exp; branches; next 1.44; 1.44 date 2011.11.17.19.01.31; author joerg; state Exp; branches; next 1.43; 1.43 date 2010.11.10.19.59.06; author drochner; state Exp; branches; next 1.42; 1.42 date 2009.09.04.13.21.19; author joerg; state Exp; branches; next 1.41; 1.41 date 2008.05.22.20.11.55; author joerg; state Exp; branches; next 1.40; 1.40 date 2007.09.30.12.19.12; author rillig; state Exp; branches; next 1.39; 1.39 date 2007.08.20.11.00.33; author joerg; state Exp; branches; next 1.38; 1.38 date 2007.08.16.03.09.38; author joerg; state Exp; branches; next 1.37; 1.37 date 2007.08.15.13.24.14; author joerg; state Exp; branches; next 1.36; 1.36 date 2007.08.02.18.19.32; author joerg; state Exp; branches; next 1.35; 1.35 date 2007.06.19.17.01.13; author joerg; state Exp; branches; next 1.34; 1.34 date 2007.06.19.14.21.19; author joerg; state Exp; branches; next 1.33; 1.33 date 2006.07.05.04.32.10; author jlam; state Exp; branches; next 1.32; 1.32 date 2006.06.14.16.57.07; author jlam; state Exp; branches; next 1.31; 1.31 date 2006.05.21.17.25.27; author jlam; state Exp; branches; next 1.30; 1.30 date 2006.05.21.16.57.07; author jlam; state Exp; branches; next 1.29; 1.29 date 2006.05.21.16.55.23; author jlam; state Exp; branches; next 1.28; 1.28 date 2006.04.13.18.45.01; author jlam; state Exp; branches; next 1.27; 1.27 date 2006.04.13.16.35.59; author jlam; state Exp; branches; next 1.26; 1.26 date 2006.03.06.05.25.45; author jlam; state Exp; branches; next 1.25; 1.25 date 2006.03.05.16.27.29; author jlam; state Exp; branches; next 1.24; 1.24 date 2006.01.09.18.32.52; author jlam; state Exp; branches; next 1.23; 1.23 date 2006.01.08.23.00.00; author jlam; state Exp; branches; next 1.22; 1.22 date 2005.11.08.03.36.13; author tv; state Exp; branches 1.22.2.1; next 1.21; 1.21 date 2005.11.04.20.02.01; author jlam; state Exp; branches; next 1.20; 1.20 date 2005.10.12.16.28.29; author jlam; state Exp; branches; next 1.19; 1.19 date 2005.09.20.03.50.19; author jlam; state Exp; branches; next 1.18; 1.18 date 2005.06.24.20.59.59; author jlam; state Exp; branches; next 1.17; 1.17 date 2005.06.23.20.45.34; author jlam; state Exp; branches; next 1.16; 1.16 date 2005.06.03.22.54.44; author jlam; state Exp; branches; next 1.15; 1.15 date 2005.05.26.21.46.14; author jlam; state Exp; branches; next 1.14; 1.14 date 2005.05.23.01.20.50; author jlam; state Exp; branches; next 1.13; 1.13 date 2005.05.16.03.07.38; author jlam; state Exp; branches 1.13.2.1; next 1.12; 1.12 date 2005.05.14.21.15.07; author jlam; state Exp; branches; next 1.11; 1.11 date 2005.05.10.20.14.27; author jlam; state Exp; branches; next 1.10; 1.10 date 2005.05.10.19.56.51; author jlam; state Exp; branches; next 1.9; 1.9 date 2005.05.04.06.42.43; author jlam; state Exp; branches; next 1.8; 1.8 date 2005.05.03.20.41.53; author jlam; state Exp; branches; next 1.7; 1.7 date 2005.05.03.16.30.34; author jlam; state Exp; branches; next 1.6; 1.6 date 2005.05.02.04.42.08; author jlam; state Exp; branches; next 1.5; 1.5 date 2005.05.02.02.50.34; author jlam; state Exp; branches; next 1.4; 1.4 date 2005.04.28.17.30.24; author jlam; state Exp; branches; next 1.3; 1.3 date 2005.04.27.16.52.28; author jlam; state Exp; branches; next 1.2; 1.2 date 2005.04.27.15.59.25; author jlam; state Exp; branches; next 1.1; 1.1 date 2005.04.27.15.28.16; author jlam; state Exp; branches; next ; 1.59.4.1 date 2017.05.01.09.00.34; author bsiegert; state Exp; branches; next ; commitid X9zNBhrdPqAbkFPz; 1.22.2.1 date 2006.01.13.01.01.00; author salo; state Exp; branches; next ; 1.13.2.1 date 2005.05.16.03.07.38; author tv; state dead; branches; next 1.13.2.2; 1.13.2.2 date 2005.05.17.18.29.46; author tv; state Exp; branches; next 1.13.2.3; 1.13.2.3 date 2006.06.07.15.25.40; author tv; state dead; branches; next ; desc @@ 1.74 log @mk/tools: add mandoc as tool Only nroff was handled as tool dependency for now, coming from the same source. Now the mandoc command is handled, too (libfido2 needs it, the change staged in wip right now). Platform-provided mandoc is only checked on NetBSD and Linux right now. @ text @# $NetBSD: tools.NetBSD.mk,v 1.73 2023/03/04 23:29:24 rillig Exp $ # # System-supplied tools for the NetBSD operating system. TOOLS_PLATFORM.[?= [ # shell builtin TOOLS_PLATFORM.awk?= /usr/bin/awk TOOLS_PLATFORM.basename?= /usr/bin/basename .if ${OPSYS_VERSION} >= 090000 || ${MKBSDTAR:U} == yes TOOLS_PLATFORM.bsdtar?= /bin/tar .endif TOOLS_PLATFORM.byacc?= /usr/bin/yacc .if exists(/usr/bin/bzcat) TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat .endif TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 TOOLS_PLATFORM.cat?= /bin/cat TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp TOOLS_PLATFORM.chmod?= /bin/chmod TOOLS_PLATFORM.chown?= /usr/sbin/chown TOOLS_PLATFORM.cmp?= /usr/bin/cmp TOOLS_PLATFORM.cp?= /bin/cp TOOLS_PLATFORM.csh?= /bin/csh .if exists(/usr/bin/ctfconvert) TOOLS_PLATFORM.ctfconvert?= /usr/bin/ctfconvert .endif .if exists(/usr/bin/ctfmerge) TOOLS_PLATFORM.ctfmerge?= /usr/bin/ctfmerge .endif TOOLS_PLATFORM.cut?= /usr/bin/cut TOOLS_PLATFORM.date?= /bin/date TOOLS_PLATFORM.diff?= /usr/bin/diff TOOLS_PLATFORM.diff3?= /usr/bin/diff3 TOOLS_PLATFORM.dirname?= /usr/bin/dirname TOOLS_PLATFORM.echo?= echo # shell builtin TOOLS_PLATFORM.egrep?= /usr/bin/egrep TOOLS_PLATFORM.env?= /usr/bin/env TOOLS_PLATFORM.expr?= /bin/expr TOOLS_PLATFORM.false?= false # shell builtin TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep TOOLS_PLATFORM.file?= /usr/bin/file TOOLS_PLATFORM.find?= /usr/bin/find TOOLS_PLATFORM.flex?= /usr/bin/lex TOOLS_PLATFORM.ftp?= /usr/bin/ftp .if exists(/usr/bin/gettext) TOOLS_PLATFORM.gettext?= /usr/bin/gettext .endif TOOLS_PLATFORM.gegrep?= /usr/bin/egrep TOOLS_PLATFORM.gfgrep?= /usr/bin/fgrep TOOLS_PLATFORM.ggrep?= /usr/bin/grep TOOLS_PLATFORM.grep?= /usr/bin/grep TOOLS_PLATFORM.groff?= /usr/bin/groff TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} # GNUish TOOLS_PLATFORM.gstrip?= /usr/bin/strip TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} TOOLS_PLATFORM.head?= /usr/bin/head TOOLS_PLATFORM.hostname?= /bin/hostname TOOLS_PLATFORM.id?= /usr/bin/id TOOLS_PLATFORM.ident?= /usr/bin/ident .if ${TOOLS_USE_CROSS_COMPILE:tl} != yes TOOLS_PLATFORM.install?= /usr/bin/install .else TOOLS_PLATFORM.install?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install .endif .if exists(/usr/bin/install-info) TOOLS_PLATFORM.install-info?= /usr/bin/install-info .endif .if exists(/sbin/ldconfig) && ${OBJECT_FMT} == "a.out" TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig .endif TOOLS_PLATFORM.ksh?= /bin/ksh TOOLS_PLATFORM.lex?= /usr/bin/lex TOOLS_PLATFORM.ln?= /bin/ln TOOLS_PLATFORM.ls?= /bin/ls TOOLS_PLATFORM.m4?= /usr/bin/m4 TOOLS_PLATFORM.mail?= /usr/bin/mail .if exists(/usr/bin/makeinfo) TOOLS_PLATFORM.makeinfo?= /usr/bin/makeinfo .endif TOOLS_PLATFORM.mandoc?= /usr/bin/mandoc TOOLS_PLATFORM.mkdir?= /bin/mkdir -p TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp .if exists(/usr/bin/msgconv) TOOLS_PLATFORM.msgconv?= /usr/bin/msgconv .endif .if exists(/usr/bin/msgfmt) TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt .endif .if exists(/usr/bin/msgmerge) TOOLS_PLATFORM.msgmerge?= /usr/bin/msgmerge .endif TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.nroff?= /usr/bin/nroff TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax .if exists(/usr/sbin/paxctl) TOOLS_PLATFORM.paxctl?= /usr/sbin/paxctl .endif TOOLS_PLATFORM.printf?= /usr/bin/printf TOOLS_PLATFORM.pwd?= /bin/pwd .if ${TOOLS_USE_CROSS_COMPILE:U:tl} != yes TOOLS_PLATFORM.readelf?= /usr/bin/readelf .else TOOLS_PLATFORM.readelf?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf .endif TOOLS_PLATFORM.readlink?= /usr/bin/readlink .if exists(/usr/bin/realpath) TOOLS_PLATFORM.realpath?= /usr/bin/realpath .endif TOOLS_PLATFORM.rm?= /bin/rm TOOLS_PLATFORM.rmdir?= /bin/rmdir TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff TOOLS_PLATFORM.sed?= /usr/bin/sed TOOLS_PLATFORM.sh?= /bin/sh TOOLS_PLATFORM.shlock?= /usr/bin/shlock TOOLS_PLATFORM.sleep?= /bin/sleep TOOLS_PLATFORM.soelim?= /usr/bin/soelim TOOLS_PLATFORM.sort?= /usr/bin/sort .if ${TOOLS_USE_CROSS_COMPILE:U:tl} != yes TOOLS_PLATFORM.strip?= /usr/bin/strip .else TOOLS_PLATFORM.strip?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-strip .endif TOOLS_PLATFORM.tail?= /usr/bin/tail .if exists(/bin/tar) TOOLS_PLATFORM.tar?= /bin/tar .elif exists(/usr/bin/tar) TOOLS_PLATFORM.tar?= /usr/bin/tar .endif TOOLS_PLATFORM.tbl?= /usr/bin/tbl TOOLS_PLATFORM.tee?= /usr/bin/tee TOOLS_PLATFORM.test?= test # shell builtin TOOLS_PLATFORM.touch?= /usr/bin/touch TOOLS_PLATFORM.tr?= /usr/bin/tr TOOLS_PLATFORM.true?= true # shell builtin TOOLS_PLATFORM.tsort?= /usr/bin/tsort TOOLS_PLATFORM.uniq?= /usr/bin/uniq .if exists(/usr/bin/unzip) TOOLS_PLATFORM.unzip?= /usr/bin/unzip .endif TOOLS_PLATFORM.wc?= /usr/bin/wc TOOLS_PLATFORM.xargs?= /usr/bin/xargs .if exists(/usr/bin/xgettext) TOOLS_PLATFORM.xgettext?= /usr/bin/xgettext .endif .if exists(/usr/bin/xz) TOOLS_PLATFORM.xz?= /usr/bin/xz .endif .if exists(/usr/bin/xzcat) TOOLS_PLATFORM.xzcat?= /usr/bin/xzcat .endif TOOLS_PLATFORM.yacc?= /usr/bin/yacc .if ${TOOLS_USE_CROSS_COMPILE:U:tl} == yes . for _t_ in ar as ld nm objcopy objdump ranlib readelf strip TOOLS_PATH.${MACHINE_GNU_PLATFORM}-${_t_}?= \ ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-${_t_} TOOLS_CREATE+= ${MACHINE_GNU_PLATFORM}-${_t_} . endfor TOOLS_PATH.ar?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ar TOOLS_CREATE+= ar TOOLS_PATH.ranlib?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ranlib TOOLS_CREATE+= ranlib TOOLS_PATH.readelf?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf TOOLS_CREATE+= readelf NATIVE_CC:= /usr/bin/cc -B /usr/libexec -B /usr/bin CC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc NATIVE_CXX:= /usr/bin/c++ -B /usr/libexec -B /usr/bin CXX= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-g++ NATIVE_LD:= /usr/bin/ld LD= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ld NATIVE_AR:= /usr/bin/ar NATIVE_RANLIB:= /usr/bin/ranlib .endif @ 1.73 log @mk/tools: replace '!empty' conditions with '==' or '!=' Main work done by running 'pkglint -F --only "simpler" --only "simplified" *.mk', with manual improvements afterwards: * Removed several redundant ':U' modifiers, as pkglint doesn't know the exact order in which the infrastructure files include each other. * Removed redundant 'defined(X11_TYPE)' and the corresponding comment. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.72 2022/05/24 13:08:26 nia Exp $ d81 1 @ 1.72 log @mk: Use OPSYS_VERSION @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.71 2022/04/16 08:58:19 riastradh Exp $ d8 1 a8 1 .if ${OPSYS_VERSION} >= 090000 || !empty(MKBSDTAR:U:Myes) d61 1 a61 1 .if empty(TOOLS_USE_CROSS_COMPILE:M[yY][eE][sS]) d104 1 a104 1 .if empty(TOOLS_USE_CROSS_COMPILE:M[yY][eE][sS]) d122 1 a122 1 .if empty(TOOLS_USE_CROSS_COMPILE:M[yY][eE][sS]) d158 1 a158 1 .if !empty(TOOLS_USE_CROSS_COMPILE:M[yY][eE][sS]) @ 1.71 log @tools: Expose NATIVE_AR and NATIVE_RANLIB for cross-builds. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.70 2022/04/04 11:23:07 riastradh Exp $ d8 1 a8 1 .if empty(MACHINE_PLATFORM:MNetBSD-[0-8].*) || !empty(MKBSDTAR:U:Myes) @ 1.70 log @mk: Cross-eyed hacks to support cross-libtool. For a long time, when cross-building, say from native=amd64 to target=powerpc, it was necessary to: 1. cross-build a _powerpc_ package called cross-libtool-base-powerpc, and then 2. install the powerpc package _natively_ with `pkg_add -m x86_64' to override the architecture check that normally forbids this kind of shenanigans, in order to cross-build anything that uses libtool as a tool. This is partly because libtool doesn't follow the normal GNU convention of `./configure --build= --host= --target=' -- in this example, build=amd64, host=amd64, target=powerpc. Instead, libtool expects to be cross-built itself, even if it's going to run as a tool. It's not as bonkers as it sounds at first: libtool is just a shell script, and it caches various information about the (cross-building!) toolchain it is built with so it can use that information later when it is run as a tool itself to cross-compile other software. To make this work, we need to create the toolchain wrappers for libtool _as if_ we were cross-building even if we are building a native package. So mk/tools uses a new flag TOOLS_USE_CROSS_COMPILE instead of USE_CROSS_COMPILE, and libtool internally sets MACHINE_ARCH=${TARGET_ARCH} (in the example above, powerpc) to make it look like we're cross-building. The new TOOLS_CROSS_DESTDIR is an alias for the (defaulted) CROSS_DESTDIR, which must now be set unconditionally in mk.conf in order for libtool to know where the cross-destdir will be; _CROSS_DESTDIR remains empty when building any native packages (including the native cross-libtool package). Finally, we need to make the resulting package be a native package, with MACHINE_ARCH set to the one that it will be installed on (in the example above, amd64), so I added an indirection _BUILD_DEFS.${var} to replace var on its own in the build definitions that get baked into the package, shown by `pkg_info -B'. Setting _BUILD_DEFS.MACHINE_ARCH=${NATIVE_MACHINE_ARCH} ensures that this mutant hybrid cross-built libtool still produces a native package. All of this logic is gated on setting USE_CROSS_COMPILE in mk.conf or LIBTOOL_CROSS_COMPILE in the package makefile, so it should be safe for non-cross-builds -- when USE_CROSS_COMPILE=no and you're not building cross-libtool, everything is as before. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.69 2022/04/03 10:33:44 riastradh Exp $ d181 3 @ 1.69 log @mk/tools: Fix readelf for cross-compilation on NetBSD. This is needed by check-pie. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.68 2021/10/22 19:00:06 jperkin Exp $ d61 1 a61 1 .if empty(USE_CROSS_COMPILE:M[yY][eE][sS]) d104 1 a104 1 .if empty(USE_CROSS_COMPILE:M[yY][eE][sS]) d122 1 a122 1 .if empty(USE_CROSS_COMPILE:M[yY][eE][sS]) d158 1 a158 1 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) @ 1.68 log @mk: Use native bsdtar on NetBSD 9.0 onwards. Relying on native variables like MKBSDTAR only works when using the native make, and should be avoided as they are not set when using a bootstrap. Should fix build of lang/go117 with bootstrapped NetBSD, as bsdtar from pkgsrc is unable to handle the distfile due to locale errors. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.67 2020/02/25 11:20:28 tnn Exp $ d169 2 @ 1.67 log @put back bsdtar as host tool, conditional on MKBSDTAR http://mail-index.netbsd.org/source-changes/2020/01/17/msg112935.html @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.66 2020/02/13 00:40:35 kamil Exp $ d8 1 a8 1 .if !empty(MKBSDTAR:U:Myes) @ 1.66 log @tools/tools.NetBSD.mk: Register TOOLS_PLATFORM.realpath @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.65 2019/11/21 21:11:22 tnn Exp $ d8 3 @ 1.65 log @remove bsdtar as tool because it was reverted in src for some reason ... @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.64 2019/09/06 03:52:55 ryoon Exp $ d107 3 @ 1.64 log @NetBSD 9 or later has bsdtar as /bin/tar @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.63 2018/11/12 13:34:39 jperkin Exp $ a7 3 .if empty(MACHINE_PLATFORM:MNetBSD-[0-8].*-*) TOOLS_PLATFORM.bsdtar?= /bin/tar .endif @ 1.63 log @mk/tools: Add a gstrip tool on platforms where it exists. This will be used in places where GNU strip (or equivalent) is required, specifically for the "-g" flag. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.62 2018/10/17 08:30:43 jperkin Exp $ d8 3 @ 1.62 log @mk: Add native GNU/BSD grep where they are known to exist. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.61 2017/04/21 16:03:10 maya Exp $ d50 1 @ 1.61 log @Check for paxctl's existence rather than version+arch check. It likely only matched amd64 before (looks like i386 had a typo), but it's necessary on most netbsd archs since netbsd-7.99.x. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.60 2017/04/21 14:45:07 ryoon Exp $ d44 3 @ 1.60 log @Workaround for make(1) from recent NetBSD-current to detect paxctl @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.59 2016/11/10 20:58:46 joerg Exp $ d92 1 a92 2 .if !empty(MACHINE_PLATFORM:MNetBSD-[4-9].*-386) || \ !empty(MACHINE_PLATFORM:MNetBSD-[4-9].*-x86_64) @ 1.59 log @Handle optional ctfmerge/ctfconvert presence on NetBSD by explicitly passing down NOCTF when they don't exist. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.58 2016/05/26 16:03:04 khorben Exp $ d92 2 a93 2 .if empty(MACHINE_PLATFORM:MNetBSD-[^0-3].*-386) || \ empty(MACHINE_PLATFORM:MNetBSD-[^0-3].*-x86_64) @ 1.59.4.1 log @Pullup ticket #5348 - requested by maya mk/tools/tools.NetBSD.mk: bugfix for paxctl Revisions pulled up: - mk/tools/tools.NetBSD.mk 1.61,1.60 --- Module Name: pkgsrc Committed By: maya Date: Fri Apr 21 16:03:10 UTC 2017 Modified Files: pkgsrc/mk/tools: tools.NetBSD.mk Log Message: Check for paxctl's existence rather than version+arch check. It likely only matched amd64 before (looks like i386 had a typo), but it's necessary on most netbsd archs since netbsd-7.99.x. --- Module Name: pkgsrc Committed By: ryoon Date: Fri Apr 21 14:45:07 UTC 2017 Modified Files: pkgsrc/mk/tools: tools.NetBSD.mk Log Message: Workaround for make(1) from recent NetBSD-current to detect paxctl @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.59 2016/11/10 20:58:46 joerg Exp $ d92 2 a93 1 .if exists(/usr/sbin/paxctl) @ 1.58 log @Import mini-framework for paxctl(8) on NetBSD/{amd64,i386} This allows setting flags for PaX on select binaries. Two new variables are introduced for packages: NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE. They both expect a list of binaries are known to not support PaX ASLR and/or PaX MPROTECT, respectively. "Please commit" wiz@@ @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.57 2015/09/08 11:36:34 jperkin Exp $ d20 6 @ 1.57 log @Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.56 2015/02/16 11:01:40 jperkin Exp $ d86 4 @ 1.56 log @Put back additions of some native gettext tools. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.54 2015/02/01 08:48:56 obache Exp $ a34 3 .if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*-*) TOOLS_PLATFORM.gawk?= ${TOOLS_PLATFORM.awk} .endif @ 1.55 log @Revert "Add some missing builtin gettext-tools path.", proposed/discussed is required for such changes. @ text @d38 3 d73 3 d79 3 @ 1.54 log @revert "Add unlink as a tool.", I cannot describe why is it on the Earth. proposed/discussed is required for such changes, from PMC gdt@@. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.53 2015/01/30 11:06:36 obache Exp $ a37 3 .if exists(/usr/bin/gettext) TOOLS_PLATFORM.gettext?= /usr/bin/gettext .endif a69 3 .if exists(/usr/bin/msgconv) TOOLS_PLATFORM.msgconv?= /usr/bin/msgconv .endif a72 3 .if exists(/usr/bin/msgmerge) TOOLS_PLATFORM.msgmerge?= /usr/bin/msgmerge .endif @ 1.53 log @Add unlink as a tool. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.52 2015/01/12 04:54:19 obache Exp $ a125 1 TOOLS_PLATFORM.unlink?= /usr/sbin/unlink @ 1.52 log @Add some missing builtin gettext-tools path. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.51 2014/03/06 07:34:20 uebayasi Exp $ d126 1 @ 1.51 log @Provide uniq(1) as a TOOLS. @ text @d1 1 a1 1 # $NetBSD$ d38 3 d73 3 d79 3 @ 1.50 log @sort @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.49 2013/11/06 13:12:50 obache Exp $ d116 1 @ 1.49 log @Add `xz' command as a TOOL. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.48 2013/08/18 11:45:33 tron Exp $ a115 1 TOOLS_PLATFORM.wc?= /usr/bin/wc d119 1 @ 1.48 log @NetBSD and Mac OS X both provide "readlink" under "/usr/bin/readlink". @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.47 2013/05/09 23:33:53 riastradh Exp $ d124 3 @ 1.47 log @Set NATIVE_CC/CC, NATIVE_CXX/CXX, and NATIVE_LD/LD for cross-builds. The NATIVE_xyz versions are for packages that build tools that they run natively but don't end up in the final product. This is a provisional scheme -- it should be replaced eventually by something more principled. ok agc @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.46 2012/05/26 13:09:54 obache Exp $ d87 1 @ 1.46 log @Only pick up /sbin/ldconfig as ldconfig tool for the case OBJECT_FMT=="a.out". Fixes PR 46445. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.45 2012/01/14 07:44:34 obache Exp $ d140 1 a140 1 NATIVE_CC:= /usr/bin/cc d143 6 @ 1.45 log @gsed related clean up. * Stop to treat NetBSD's sed as GNU sed, not full compatible. * Then, no need to reset TOOLS_PLATFORM.gsed for NetBSD if USE_TOOLS+=gsed and real GNU sed is required. * In addition, convert simple USE_TOOLS+=gsed to conditionally, without NetBSD. * convert {BUILD_,}DEPENDS+=gsed to USE_TOOLS, all tools from gsed are real gsed. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.44 2011/11/17 19:01:31 joerg Exp $ d56 1 a56 1 .if exists(/sbin/ldconfig) @ 1.44 log @Add objcopy to the list of cross-compiling tools. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.43 2010/11/10 19:59:06 drochner Exp $ a39 1 TOOLS_PLATFORM.gsed?= ${TOOLS_PLATFORM.sed} # GNUish @ 1.43 log @use -current's builtin xzcat @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.42 2009/09/04 13:21:19 joerg Exp $ d130 1 a130 1 . for _t_ in ar as ld nm objdump ranlib readelf strip @ 1.42 log @Use unzip from base if it exists. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.41 2008/05/22 20:11:55 joerg Exp $ d124 3 @ 1.41 log @Add ftp as tool. On NetBSD and DragonFly, this will use the system version of tnftp, otherwise it will use net/tnftp. Require ftp as bootstrap dependency when the package has files to fetch. The dependency is currently unconditional and FETCH_CMD is set to TOOLS_PATH.ftp by default. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.40 2007/09/30 12:19:12 rillig Exp $ d117 3 @ 1.40 log @Fixed indentation. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.39 2007/08/20 11:00:33 joerg Exp $ d34 1 @ 1.39 log @Add readelf as tool, for only only the BSDs get it. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.38 2007/08/16 03:09:38 joerg Exp $ d123 1 a123 1 .for _t_ in ar as ld nm objdump ranlib readelf strip d127 1 a127 1 .endfor @ 1.38 log @A number of packages implicitly assume that ar runs the right ranlib, so override it as well for DESTDIR. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.37 2007/08/15 13:24:14 joerg Exp $ d82 5 d123 1 a123 1 .for _t_ in ar as ld nm objdump ranlib strip @ 1.37 log @Create ranlib override for cross-compilation as libtool doesn't use the target version. If we ever want to create archives for the native platform, NATIVE_RANLIB similiar to NATIVE_CC should be introduced. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.36 2007/08/02 18:19:32 joerg Exp $ d124 2 @ 1.36 log @Add core of the infrastructure support for cross-compilation. - USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of the target filesystem - derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR - buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR - compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf) - PKG_DBDIR is prefixed with _CROSS_DESTDIR - package-install and bin-install are not called with su - install and strip are redirected to the tool version - links for the target specific ar, as, ld, nm, objdump, ranlib and strip are added - compiler wrapper detect if linking is requested or not - special command sinks for CPP and CC/CXX add the cross-compile magic: - modify include dirs to get the target /usr/include - modify linker dirs and runpath to use target /usr/lib at link time, but keep correct rpath entries Supported-by: Google SoC 2007 Basic tests by he@@ on Sparc. Review from jlam@@. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.35 2007/06/19 17:01:13 joerg Exp $ d124 3 @ 1.35 log @Add bzip2 as tool. All platforms that had code to deal with bzcat also get bzip2, the rest falls back to archivers/bzip2. OK jlam. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.34 2007/06/19 14:21:19 joerg Exp $ d48 1 d50 3 d91 1 d93 4 d116 12 @ 1.34 log @Add ident as tool and use /usr/bin/ident on those platforms I know to have it. Fallback to devel/rcs otherwise. Commited during freeze as it is a dependency of pbulk. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.33 2006/07/05 04:32:10 jlam Exp $ d12 1 @ 1.33 log @Teach the tools framework about the following new tools: itools, intltool, diff3, sdiff, msgmerge * Adding USE_TOOLS+=itools to a package Makefile will cause the tool-directory versions of imake, makedepend, mkdirhier and xmkmf to point to the ones from the devel/nbitools package. This change will remove the need for nbitools/buildlink3.mk, which currently does a bit of hackery to force the "right" imake tools to be used by packages that need it. * Adding USE_TOOLS+=intltool to a package Makefile will cause the local versions of intltool-* inside ${WRKSRC} to be replaced by copies from the textproc/intltool package. If "intltool" is not specified as a tool, then we create "broken" intltool-* tools in the tools directory to help highlight hidden dependencies on the intltool package. In addition, modify the tools framework so that if "perl" is not specified as a tool, then we create a "broken" perl tool in the tools directory for the same reason as for "intltool". These two changes together will remove the need for intltools/buildlink3.mk and should also catch all cases where the sources' intltools may have been silently used because perl was found on the system. * Adding USE_TOOLS+=diff3, USE_TOOLS+=sdiff, or USE_TOOLS+=msgmerge to a package Makefile will cause the corresponding tool to be pulled into the tools directory. These are convenience tools to help simplify dependencies for some packages. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.32 2006/06/14 16:57:07 jlam Exp $ d46 1 @ 1.32 log @Teach the tools framework about "openssl". @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.31 2006/05/21 17:25:27 jlam Exp $ d22 1 d78 1 @ 1.31 log @Add back "gsoelim" as a NetBSD tool since it supports "-I directory". Mark this as merely "GNUish" in the comment so that we know it's not really GNU soelim. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.30 2006/05/21 16:57:07 jlam Exp $ d70 1 @ 1.30 log @NetBSD actually doesn't have GNU soelim, but rather BSD soelim. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.29 2006/05/21 16:55:23 jlam Exp $ d37 2 a38 1 TOOLS_PLATFORM.gsed?= ${TOOLS_PLATFORM.sed} # GNUish @ 1.29 log @Teach the tools framework about "groff" as a tool. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.28 2006/04/13 18:45:01 jlam Exp $ a37 1 TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} @ 1.28 log @Rename msgfmt.mk to gettext.mk. The rest of the gettext tool handling will be moved here from replace.mk shortly. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.27 2006/04/13 16:35:59 jlam Exp $ d36 1 @ 1.27 log @Overhaul the way packages can ask for "msgfmt". If a package needs msgfmt, then it should set the following in the package Makefile: USE_TOOLS+= msgfmt To deal with message files that use the "msgid_plural" statement, which isn't supported in NetBSD<=3.x and also in gettext<=0.10.35, we determine if the built-in "msgfmt" is sufficiently new enough to understand "msgid_plural". If it isn't, then we use the msgfmt.sh script to transform the msgid_plural statements to an equivalent construct that's understood by older msgfmt tools. The msgfmt.sh script is a straightforward translation of the original perl script msgfmt.pl script by Julio M. Merino Vidal into shell and awk, which are more lightweight dependencies than perl. We remove the USE_MSGFMT_PLURALS bits in gettext-lib/builtin.mk as they are made obsolete by the new code in mk/tools/msgfmt.mk. BUILD_USE_MSGFMT is still supported but will be removed in a separate commit. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.26 2006/03/06 05:25:45 jlam Exp $ d97 3 @ 1.26 log @Teach the tools framework how to supply a pkgsrc version of install-info if a native one isn't available. We ensure that the "install-info" tool in the tools directory is a no-op since the real info file registration is handled by the INSTALL/DEINSTALL script in pkgsrc/mk/pkginstall/install-info. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.25 2006/03/05 16:27:29 jlam Exp $ d62 3 @ 1.25 log @* Teach the tools framework how to supply the pkgsrc version of makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.24 2006/01/09 18:32:52 jlam Exp $ d45 3 @ 1.24 log @Teach the tools framework about the ``ksh'' tool, provided by the shells/pdksh package if it doesn't exist on the base system. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.23 2006/01/08 23:00:00 jlam Exp $ d54 3 @ 1.23 log @Teach the tools framework about "gsoelim", which is the soelim tool from a groff distribution. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.22 2005/11/08 03:36:13 tv Exp $ d48 1 @ 1.22 log @Add "soelim", also part of groff if replacement is needed. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.21 2005/11/04 20:02:01 jlam Exp $ d37 1 @ 1.22.2.1 log @Pullup ticket 1019 - requested by Johnny C. Lam bugfixes for the tools framework Revisions pulled up: - pkgsrc/mk/tools/replace.mk 1.145-1.155 - pkgsrc/mk/tools/tools.Darwin.mk 1.22 - pkgsrc/mk/tools/tools.NetBSD.mk 1.23, 1.24 - pkgsrc/mk/tools/tools.OpenBSD.mk 1.22 - pkgsrc/mk/tools/tools.Linux.mk 1.28 - pkgsrc/mk/tools/defaults.mk 1.43 Module Name: pkgsrc Committed By: reed Date: Wed Dec 28 04:24:37 UTC 2005 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Add makepsres to _TOOLS.x11-clients. (makepsres used for lyx install for example.) --- Module Name: pkgsrc Committed By: reed Date: Wed Dec 28 16:46:38 UTC 2005 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: For the x11-clients section, use "XFree86-clients" instead of "imake" for the TOOLS_PREFIX (for the XFree86-clients provided tool). (Asked about on tech-pkg and jlam said to commit.) --- Module Name: pkgsrc Committed By: jlam Date: Wed Dec 28 22:21:19 UTC 2005 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Consolidate xmkmf with the other "imake" tools. --- Module Name: pkgsrc Committed By: jlam Date: Wed Dec 28 22:26:50 UTC 2005 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Whitespace changes to align with other sections. --- Module Name: pkgsrc Committed By: jlam Date: Wed Dec 28 22:41:27 UTC 2005 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Teach the tools framework about ttmkfdir and type1inst. --- Module Name: pkgsrc Committed By: jlam Date: Sun Jan 8 22:09:05 UTC 2006 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Consolidate groff-supplied tools into one section. --- Module Name: pkgsrc Committed By: jlam Date: Sun Jan 8 23:00:00 UTC 2006 Modified Files: pkgsrc/mk/tools: defaults.mk replace.mk tools.Linux.mk tools.NetBSD.mk Log Message: Teach the tools framework about "gsoelim", which is the soelim tool from a groff distribution. --- Module Name: pkgsrc Committed By: jlam Date: Mon Jan 9 18:32:52 UTC 2006 Modified Files: pkgsrc/mk/tools: replace.mk tools.Darwin.mk tools.NetBSD.mk tools.OpenBSD.mk Log Message: Teach the tools framework about the ``ksh'' tool, provided by the shells/pdksh package if it doesn't exist on the base system. --- Module Name: pkgsrc Committed By: jlam Date: Thu Jan 12 18:29:03 UTC 2006 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Re-implement some code that was lost in revision 1.144 so that IMAKE may be overridden to point to the path of the imake binary to use. --- Module Name: pkgsrc Committed By: jlam Date: Thu Jan 12 19:26:03 UTC 2006 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Fix a typo that was causing imake, mkdirhier and xmkmf to not be created as tools in the tools directory. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.24 2006/01/09 18:32:52 jlam Exp $ a36 1 TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim} a46 1 TOOLS_PLATFORM.ksh?= /bin/ksh @ 1.21 log @Teach the tools framework about "sleep" which can be provided by the sysutils/coreutils package. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.20 2005/10/12 16:28:29 jlam Exp $ d68 1 @ 1.20 log @Teach the tools framework about ``printf'', which can be replaced by the printf in sysutils/coreutils. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.19 2005/09/20 03:50:19 jlam Exp $ d67 1 @ 1.19 log @Teach the tools framework about "byacc", which is a Berkeley-compatible YACC. This should be used by packages that require NOT using bison (maybe because bison can't handle the .y file) but still need a yacc. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.18 2005/06/24 20:59:59 jlam Exp $ d60 1 @ 1.18 log @Teach the tools framework about csh, and replace with tcsh if necessary. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.17 2005/06/23 20:45:34 jlam Exp $ d8 1 @ 1.17 log @Note locations for native diff tools. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.16 2005/06/03 22:54:44 jlam Exp $ d17 1 @ 1.16 log @Teach the tools framework about mktemp. Replace explicit tests for mktemp with USE_TOOLS+=mktemp in the samba packages. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.15 2005/05/26 21:46:14 jlam Exp $ d19 1 @ 1.15 log @Teach the tools framework about nroff. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.14 2005/05/23 01:20:50 jlam Exp $ d50 1 @ 1.14 log @Teach the tools framework about "flex" so that packages can specify that they require flex instead of any old lex. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.13 2005/05/16 03:07:38 jlam Exp $ d53 1 @ 1.13 log @Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING which can take multiple values -- "pax" or "gtar". The default value of EXTRACT_USING is "pax", which more closely matches reality since before, we were using bootstrap "tar" for ${GTAR} and it was actually pax-as-tar. Also, stop pretending pax-as-tar from the bootstrap kit or on NetBSD is GNU tar. Lastly, in bsd.pkg.extract.mk, note whether we need "pax" or "gtar" depending on what we need to extract the distfiles. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.12 2005/05/14 21:15:07 jlam Exp $ d28 1 @ 1.13.2.1 log @file tools.NetBSD.mk was added on branch tv-derecurse on 2005-05-17 18:29:46 +0000 @ text @d1 77 @ 1.13.2.2 log @sync [all but bsd.pkg.mk] with HEAD @ text @a0 77 # $NetBSD: tools.NetBSD.mk,v 1.13.2.1 2005/05/17 18:29:46 tv Exp $ # # System-supplied tools for the NetBSD operating system. TOOLS_PLATFORM.[?= [ # shell builtin TOOLS_PLATFORM.awk?= /usr/bin/awk TOOLS_PLATFORM.basename?= /usr/bin/basename .if exists(/usr/bin/bzcat) TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat .endif TOOLS_PLATFORM.cat?= /bin/cat TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp TOOLS_PLATFORM.chmod?= /bin/chmod TOOLS_PLATFORM.chown?= /usr/sbin/chown TOOLS_PLATFORM.cmp?= /usr/bin/cmp TOOLS_PLATFORM.cp?= /bin/cp TOOLS_PLATFORM.cut?= /usr/bin/cut TOOLS_PLATFORM.date?= /bin/date TOOLS_PLATFORM.dirname?= /usr/bin/dirname TOOLS_PLATFORM.echo?= echo # shell builtin TOOLS_PLATFORM.egrep?= /usr/bin/egrep TOOLS_PLATFORM.env?= /usr/bin/env TOOLS_PLATFORM.expr?= /bin/expr TOOLS_PLATFORM.false?= false # shell builtin TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep TOOLS_PLATFORM.file?= /usr/bin/file TOOLS_PLATFORM.find?= /usr/bin/find .if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*-*) TOOLS_PLATFORM.gawk?= ${TOOLS_PLATFORM.awk} .endif TOOLS_PLATFORM.grep?= /usr/bin/grep TOOLS_PLATFORM.gsed?= ${TOOLS_PLATFORM.sed} # GNUish TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} TOOLS_PLATFORM.head?= /usr/bin/head TOOLS_PLATFORM.hostname?= /bin/hostname TOOLS_PLATFORM.id?= /usr/bin/id TOOLS_PLATFORM.install?= /usr/bin/install .if exists(/sbin/ldconfig) TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig .endif TOOLS_PLATFORM.lex?= /usr/bin/lex TOOLS_PLATFORM.ln?= /bin/ln TOOLS_PLATFORM.ls?= /bin/ls TOOLS_PLATFORM.m4?= /usr/bin/m4 TOOLS_PLATFORM.mail?= /usr/bin/mail TOOLS_PLATFORM.mkdir?= /bin/mkdir -p TOOLS_PLATFORM.mtree?= /usr/sbin/mtree TOOLS_PLATFORM.mv?= /bin/mv TOOLS_PLATFORM.nice?= /usr/bin/nice TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.pwd?= /bin/pwd TOOLS_PLATFORM.rm?= /bin/rm TOOLS_PLATFORM.rmdir?= /bin/rmdir TOOLS_PLATFORM.sed?= /usr/bin/sed TOOLS_PLATFORM.sh?= /bin/sh TOOLS_PLATFORM.shlock?= /usr/bin/shlock TOOLS_PLATFORM.sort?= /usr/bin/sort TOOLS_PLATFORM.strip?= /usr/bin/strip TOOLS_PLATFORM.tail?= /usr/bin/tail .if exists(/bin/tar) TOOLS_PLATFORM.tar?= /bin/tar .elif exists(/usr/bin/tar) TOOLS_PLATFORM.tar?= /usr/bin/tar .endif TOOLS_PLATFORM.tbl?= /usr/bin/tbl TOOLS_PLATFORM.tee?= /usr/bin/tee TOOLS_PLATFORM.test?= test # shell builtin TOOLS_PLATFORM.touch?= /usr/bin/touch TOOLS_PLATFORM.tr?= /usr/bin/tr TOOLS_PLATFORM.true?= true # shell builtin TOOLS_PLATFORM.tsort?= /usr/bin/tsort TOOLS_PLATFORM.wc?= /usr/bin/wc TOOLS_PLATFORM.xargs?= /usr/bin/xargs TOOLS_PLATFORM.yacc?= /usr/bin/yacc @ 1.13.2.3 log @EOL the tv-derecurse branch; it has become too outdated. The last live revision can be fetched at the tv-derecurse-eol tag. @ text @d1 77 @ 1.12 log @Consider ${TAR} differently from ${GTAR}. Currently, mark pkgsrc down as needing both (no impact since they're both satisfied by the tar binary installed by the bootstrap kit). There's some funniness in the extraction code where we check for pax or GNU tar that needs to be resolved. Remove the TAR=${GTAR} hack since it's no longer needed after these changes. XXX Later, a sweep needs to be made to see where we actually need GTAR XXX and where we only need TAR, probably triggered by whether we call it XXX with the "z" option or not. Packages that need GTAR should explicitly XXX add USE_TOOLS+=gtar to the package Makefile. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.11 2005/05/10 20:14:27 jlam Exp $ a32 1 TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} @ 1.11 log @Split out ldconfig handling from the USE_TOOLS processing in replace.mk. This makes more sense since there is never going to be a pkgsrc replacement for ldconfig. We now always create an ldconfig tool in ${TOOLS_DIR} that either calls the system-supplied one if it exists, or is a no-op. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.10 2005/05/10 19:56:51 jlam Exp $ d33 1 a33 5 .if exists(/bin/tar) TOOLS_PLATFORM.gtar?= /bin/tar .elif exists(/usr/bin/tar) TOOLS_PLATFORM.gtar?= /usr/bin/tar .endif d64 5 @ 1.10 log @Remove conditional expression from tools.*.mk files. Strip handling has moved to its own file, and we only need to define TOOLS_PLATFORM.strip if it actually exists on the system. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.9 2005/05/04 06:42:43 jlam Exp $ a46 2 .else TOOLS_PLATFORM.ldconfig?= ${TOOLS_PLATFORM.true} @ 1.9 log @Teach the new tools framework about ${STRIP}, which is used in some packages to strip installed executables. If INSTALL_UNSTRIPPED == "yes", then we create a "strip" wrapper in ${TOOLS_DIR} that just calls ${TRUE} by considering ${TRUE} the system-supplied strip command. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.8 2005/05/03 20:41:53 jlam Exp $ d68 1 a68 2 TOOLS_PLATFORM.strip?= \ ${_INSTALL_UNSTRIPPED:D${TOOLS_PLATFORM.true}:U/usr/bin/strip} @ 1.8 log @Teach the new tools framework about INSTALL and set the appropriate default value for each platform. Currently, the replacement tools comes from sysutils/coreutils, but where there is no native BSD install program, bootstrap-pkgsrc should probably be made to provide an install shell script as an alternative, and mk/tools/bootstrap.mk should be amended accordingly. Also remove one use of ${TYPE} in pkgsrc (bsd.pkg.mk) under the new tools framework. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.7 2005/05/03 16:30:34 jlam Exp $ d68 2 @ 1.7 log @Teach the new tools framework about MAIL_CMD. We use mail/nail as a "mail" replacement in case TOOLS_PLATFORM.mail is empty. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.6 2005/05/02 04:42:08 jlam Exp $ d44 1 @ 1.6 log @Teach the new tools framework about ldconfig. This must be provided by tools.${OPSYS}.mk, so at the very worst, it must be set to "true". @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.5 2005/05/02 02:50:34 jlam Exp $ d53 1 @ 1.5 log @Teach the new tools framework about USE_TOOLS+=bzcat. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.4 2005/04/28 17:30:24 jlam Exp $ d44 5 @ 1.4 log @Note the "[" is natively available everywhere (usually as a shell builtin). @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.3 2005/04/27 16:52:28 jlam Exp $ d8 3 @ 1.3 log @Rename PLATFORM_TOOLS.* to TOOLS_PLATFORM.* to bring the variable names under the same namespace as the other parts of the new tools framework. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.2 2005/04/27 15:59:25 jlam Exp $ d5 1 @ 1.2 log @The BSDs all have lex, tbl, and yacc in the base system. @ text @d1 1 a1 1 # $NetBSD: tools.NetBSD.mk,v 1.1 2005/04/27 15:28:16 jlam Exp $ d5 19 a23 19 PLATFORM_TOOL.awk?= /usr/bin/awk PLATFORM_TOOL.basename?= /usr/bin/basename PLATFORM_TOOL.cat?= /bin/cat PLATFORM_TOOL.chgrp?= /usr/bin/chgrp PLATFORM_TOOL.chmod?= /bin/chmod PLATFORM_TOOL.chown?= /usr/sbin/chown PLATFORM_TOOL.cmp?= /usr/bin/cmp PLATFORM_TOOL.cp?= /bin/cp PLATFORM_TOOL.cut?= /usr/bin/cut PLATFORM_TOOL.date?= /bin/date PLATFORM_TOOL.dirname?= /usr/bin/dirname PLATFORM_TOOL.echo?= echo # shell builtin PLATFORM_TOOL.egrep?= /usr/bin/egrep PLATFORM_TOOL.env?= /usr/bin/env PLATFORM_TOOL.expr?= /bin/expr PLATFORM_TOOL.false?= false # shell builtin PLATFORM_TOOL.fgrep?= /usr/bin/fgrep PLATFORM_TOOL.file?= /usr/bin/file PLATFORM_TOOL.find?= /usr/bin/find d25 1 a25 1 PLATFORM_TOOL.gawk?= ${PLATFORM_TOOL.awk} d27 2 a28 2 PLATFORM_TOOL.grep?= /usr/bin/grep PLATFORM_TOOL.gsed?= ${PLATFORM_TOOL.sed} # GNUish d30 1 a30 1 PLATFORM_TOOL.gtar?= /bin/tar d32 1 a32 1 PLATFORM_TOOL.gtar?= /usr/bin/tar d34 34 a67 34 PLATFORM_TOOL.gunzip?= /usr/bin/gunzip -f PLATFORM_TOOL.gzcat?= /usr/bin/gzcat PLATFORM_TOOL.gzip?= /usr/bin/gzip -nf ${GZIP} PLATFORM_TOOL.head?= /usr/bin/head PLATFORM_TOOL.hostname?= /bin/hostname PLATFORM_TOOL.id?= /usr/bin/id PLATFORM_TOOL.lex?= /usr/bin/lex PLATFORM_TOOL.ln?= /bin/ln PLATFORM_TOOL.ls?= /bin/ls PLATFORM_TOOL.m4?= /usr/bin/m4 PLATFORM_TOOL.mkdir?= /bin/mkdir -p PLATFORM_TOOL.mtree?= /usr/sbin/mtree PLATFORM_TOOL.mv?= /bin/mv PLATFORM_TOOL.nice?= /usr/bin/nice PLATFORM_TOOL.patch?= /usr/bin/patch PLATFORM_TOOL.pax?= /bin/pax PLATFORM_TOOL.pwd?= /bin/pwd PLATFORM_TOOL.rm?= /bin/rm PLATFORM_TOOL.rmdir?= /bin/rmdir PLATFORM_TOOL.sed?= /usr/bin/sed PLATFORM_TOOL.sh?= /bin/sh PLATFORM_TOOL.shlock?= /usr/bin/shlock PLATFORM_TOOL.sort?= /usr/bin/sort PLATFORM_TOOL.tail?= /usr/bin/tail PLATFORM_TOOL.tbl?= /usr/bin/tbl PLATFORM_TOOL.tee?= /usr/bin/tee PLATFORM_TOOL.test?= test # shell builtin PLATFORM_TOOL.touch?= /usr/bin/touch PLATFORM_TOOL.tr?= /usr/bin/tr PLATFORM_TOOL.true?= true # shell builtin PLATFORM_TOOL.tsort?= /usr/bin/tsort PLATFORM_TOOL.wc?= /usr/bin/wc PLATFORM_TOOL.xargs?= /usr/bin/xargs PLATFORM_TOOL.yacc?= /usr/bin/yacc @ 1.1 log @Initial stab at creating lists of system-supplied tools for each platform. These were culled from pkgsrc/mk/${OPSYS}.mk. These files should only be listing utilities that aren't installed by pkgsrc. @ text @d1 1 a1 1 # $NetBSD$ d24 3 d28 1 d40 1 d58 1 d67 1 @