The NetBSD Project

CVS log for pkgsrc/mk/tools/tools.Linux.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / mk / tools

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Sep 12 22:12:32 2024 UTC (2 years, 2 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, HEAD
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -1 lines
tools.Linux.mk: add unzip

Perhaps surprisingly, unzip was never included, though it is for some
other OSes. Works around PR pkg/58671, where the resulting archivers/
zip does not function correctly on Fedora 40.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Aug 6 03:50:23 2024 UTC (2 years, 3 months ago) by tnn
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -7 lines
mk: avoid egrep and fgrep on Linux, use grep -E and grep -F

GNU grep 3.8 added a nag message on stderr telling us to do this:
https://git.savannah.gnu.org/cgit/grep.git/commit/src/egrep.sh?id=a9515624709865d480e3142fd959bccd1c9372d1

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jul 3 13:27:16 2024 UTC (2 years, 4 months ago) by cheusov
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -1 lines
Add new tool "git", oked by gdt@ and wiz@

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue May 9 12:16:01 2023 UTC (3 years, 6 months ago) by thor
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -1 lines
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.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Jul 5 20:35:45 2022 UTC (4 years, 4 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -1 lines
tools: re-add (accidentally?) dropped realpath

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon May 9 16:44:40 2022 UTC (4 years, 6 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -1 lines
tools.Linux.mk: set TOOLS_PLATFORM.date.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun May 1 08:03:41 2022 UTC (4 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +288 -288 lines
mk: Initial support for NixOS (Linux variant)

A particular challenge for pkgsrc on NixOS is that it usurps all
Unix conventions and stores its system binaries and libraries in
a crazy system of hashed sub-directories:

$ which ls
/run/current-system/sw/bin/ls
$ ls -l /run/current-system/sw/bin/ls
Lrwxrwxrwx 1 root root 65 Jan  1  1970 /run/current-system/sw/bin/ls -> /nix/store/xs02fpnpkq
frhqqfsxx3lpj48wrapd00-coreutils-8.32/bin/ls

We can make a "best effort" attempt to accomodate this by invoking
the compiler to figure out where libc is.  In general, it's required to
adjust the Linux files to make fewer assumptions about the layout of the
filesystem.

However, since using a compiler and libc from NixOS results in /nix/store
paths being embedded in binaries, running the NixOS "garbage collector"
can result in binaries installed from pkgsrc becoming unusable.  Use with
care:

$ readelf -a ~/pkg/bin/perl | grep nix
      [Requesting program interpreter: /nix/store/p5sam91qwz995pi0160rfr7dkh6pibil-glibc-2.32
-39/lib/ld-linux-aarch64.so.1]
 0x000000000000001d (RUNPATH)            Library runpath: [/home/nia/pkg/lib:/home/nia/pkg/li
b/perl5/5.32.0/aarch64-linux/CORE:/nix/store/p5sam91qwz995pi0160rfr7dkh6pibil-glibc-2.32-39/l
ib:/nix/store/vv9nz0bwv1pfl70w14k7dgz6yx7hjwxk-gcc-9.3.0-lib/lib]

Apparently, the "stdenv.cc" package must be installed prior to
bootstrapping pkgsrc.

I worked on this patch last year for a friend who wanted to test
something on pkgsrc but had no other system available.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Dec 5 13:15:58 2020 UTC (5 years, 11 months ago) by js
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +5 -1 lines
tools.Linux.mk: Consider /bin/find as well

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu May 28 14:47:36 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -1 lines
mk/tools: not all linuxes have bash (e.g. alpine)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Nov 12 13:34:39 2018 UTC (8 years ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1 lines
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.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Oct 17 08:30:43 2018 UTC (8 years, 1 month ago) by jperkin
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +7 -1 lines
mk: Add native GNU/BSD grep where they are known to exist.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Jul 10 12:32:30 2017 UTC (9 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -1 lines
Deal with wc in /bin. From Thomas Orgis.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Mar 9 22:27:29 2016 UTC (10 years, 8 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +13 -3 lines
Add special handling for Debian derived systems as they do not have GNU awk
in /usr/bin/awk but mawk. Use /usr/bin/gawk if it exists, otherwise
depend on gawk from pkgsrc when required.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Feb 16 11:01:40 2015 UTC (11 years, 9 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +12 -0 lines
Put back additions of some native gettext tools.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Feb 1 09:15:49 2015 UTC (11 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -13 lines
Revert "Add some missing builtin gettext-tools path.",
proposed/discussed is required for such changes.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Feb 1 08:48:56 2015 UTC (11 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -6 lines
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@.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Jan 30 11:06:36 2015 UTC (11 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -1 lines
Add unlink as a tool.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Jan 12 04:54:19 2015 UTC (11 years, 10 months ago) by obache
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +13 -1 lines
Add some missing builtin gettext-tools path.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Mar 6 07:34:20 2014 UTC (12 years, 8 months ago) by uebayasi
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -1 lines
Provide uniq(1) as a TOOLS.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Feb 14 07:43:46 2014 UTC (12 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -1 lines
tell wget as a tool.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Nov 6 13:12:50 2013 UTC (13 years ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -1 lines
Add `xz' command as a TOOL.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Aug 24 10:12:52 2013 UTC (13 years, 2 months ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -1 lines
Define "readlink" location for Linux and OpenBSD.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Oct 1 10:25:03 2012 UTC (14 years, 1 month ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -1 lines
Add xz to tools.Linux.mk.
Some Linux distributions, for example Gentoo Linux, have xz command in base.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jul 27 14:38:26 2012 UTC (14 years, 3 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -1 lines
Add curl tool on Darwin and Linux if it exists, as it is very common.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Dec 14 03:17:25 2011 UTC (14 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -4 lines
Don't pick up GNU patch on Darwin, Linux and SunOS. It has a number of
restrictions including line length, asymmetric context and interaction
with read-only patches. It is just not worth the trouble.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 13 08:30:59 2010 UTC (16 years, 9 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +9 -1 lines
Adjust chgrp/chown paths for SSD/Linux.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jan 16 02:16:35 2010 UTC (16 years, 10 months ago) by obache
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -1 lines
Add support of SSD/Linux.
 * ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Oct 11 07:36:11 2009 UTC (17 years, 1 month ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -1 lines
don't assume we have /bin/zcat

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat May 17 18:34:50 2008 UTC (18 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -1 lines
Check that /usr/bin/patch really exists, so that we can gracefully fall
back to depending on devel/patch.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Apr 4 15:49:18 2008 UTC (18 years, 7 months ago) by tnn
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -1 lines
Detect and use native bzip2(1) tool.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Feb 19 03:03:08 2008 UTC (18 years, 9 months ago) by epg
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -1 lines
Look for mktemp in /bin, too, where Debian systems keep it.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jun 19 14:21:19 2007 UTC (19 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1 lines
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.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Mar 17 00:14:50 2007 UTC (19 years, 8 months ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, jlam-pkgviews-base, jlam-pkgviews
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -1 lines
Check for /usr/bin/sleep. I have had this in my pkgsrc for a long time.

According to the  Filesystem Hierarchy Standard for Linux, sleep
is not listed as a required command (or symlink) in /bin.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Mar 15 23:11:12 2007 UTC (19 years, 8 months ago) by reed
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -1 lines
Check for /bin/bzcat. Noticed on Ubuntu Linux over a week ago.
(Could check for /bin/bzip2 also, but I didn't need that.)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Jan 25 21:34:54 2007 UTC (19 years, 9 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +9 -1 lines
Some Linux distros have gawk and install in /bin.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Jul 5 04:32:10 2006 UTC (20 years, 4 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +11 -1 lines
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.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 26 18:14:51 2006 UTC (20 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1 lines
m4 might not exist e.g. on Slackware, conditionalize it.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jun 20 22:32:28 2006 UTC (20 years, 5 months ago) by minskim
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines
Use /bin/tcsh only when it exists.  A minimal installtion of Linux may
not have it.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jun 14 16:57:07 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -1 lines
Teach the tools framework about "openssl".

Revision 1.17.2.3
Wed Jun 7 15:25:40 2006 UTC (20 years, 5 months ago) by tv
Branches: tv-derecurse
FILE REMOVED
Changes since revision 1.17.2.2: +0 -129 lines
EOL the tv-derecurse branch; it has become too outdated.  The last live
revision can be fetched at the tv-derecurse-eol tag.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun May 21 16:55:23 2006 UTC (20 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -1 lines
Teach the tools framework about "groff" as a tool.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Apr 13 18:45:01 2006 UTC (20 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -1 lines
Rename msgfmt.mk to gettext.mk.  The rest of the gettext tool handling
will be moved here from replace.mk shortly.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Apr 13 16:35:59 2006 UTC (20 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -1 lines
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.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 6 05:25:45 2006 UTC (20 years, 8 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -1 lines
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.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Mar 5 16:27:29 2006 UTC (20 years, 8 months ago) by jlam
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1 lines
* 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.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 13 01:01:00 2006 UTC (20 years, 10 months ago) by salo
Branches: pkgsrc-2005Q4
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +4 -1 lines
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.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 8 23:00:00 2006 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1 lines
Teach the tools framework about "gsoelim", which is the soelim tool from
a groff distribution.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Nov 8 03:36:13 2005 UTC (21 years ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base
Branch point for: pkgsrc-2005Q4
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -1 lines
Add "soelim", also part of groff if replacement is needed.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Nov 4 20:02:01 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
Teach the tools framework about "sleep" which can be provided by the
sysutils/coreutils package.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Oct 12 16:28:29 2005 UTC (21 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -1 lines
Teach the tools framework about ``printf'', which can be replaced by the
printf in sysutils/coreutils.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Aug 26 05:41:39 2005 UTC (21 years, 2 months ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -1 lines
Make sure file exists before defining TOOLS_PLATFORM.mktemp.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jun 24 20:59:59 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
Teach the tools framework about csh, and replace with tcsh if necessary.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Jun 24 19:39:10 2005 UTC (21 years, 4 months ago) by minskim
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
Support bash as a tool, so that packages containing bash scripts
(e.g. graphics/netpbm) use native bash if available.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Jun 23 20:45:34 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -1 lines
Note locations for native diff tools.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jun 16 04:30:46 2005 UTC (21 years, 5 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -1 lines
provide defaults for bzcat and tbl to avoid unnecessary build
dependencies on archivers/bzip2 and textproc/groff when they are
available in the base system.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jun 3 22:54:44 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Teach the tools framework about mktemp.  Replace explicit tests for
mktemp with USE_TOOLS+=mktemp in the samba packages.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 26 21:46:14 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1 lines
Teach the tools framework about nroff.

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Tue May 17 18:29:46 2005 UTC (21 years, 6 months ago) by tv
Branches: tv-derecurse
CVS tags: tv-derecurse-eol
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +129 -0 lines
sync [all but bsd.pkg.mk] with HEAD

Revision 1.17.2.1
Sun May 15 23:20:38 2005 UTC (21 years, 6 months ago) by tv
Branches: tv-derecurse
FILE REMOVED
Changes since revision 1.17: +0 -129 lines
file tools.Linux.mk was added on branch tv-derecurse on 2005-05-17 18:29:46 +0000

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun May 15 23:20:38 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
CVS tags: tv-derecurse-merge
Branch point for: tv-derecurse
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Asking the tools framework for "bison" now provides two distinct tools:
"bison" and "bison-yacc".  bison is just a symlink to the real bison,
but "bison-yacc" provides a "yacc" in ${TOOLS_DIR} that does "bison
-y".  This allows the tools framework to provide everything that a
package might look for when asking for "bison" and avoids relying on
the bison being available in the PATH.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun May 15 22:37:46 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Linux xargs is probably GNU xargs, so we need to invoke it with "-r".
From schwarz@ in private mail.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat May 14 21:15:07 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
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.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat May 14 10:19:36 2005 UTC (21 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Typo: if exists /bin/gzip, use /bin/gzip (not /usr/bin/gzip).

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 14 01:25:19 2005 UTC (21 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Fixed typo in finding grep(1).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri May 13 19:53:08 2005 UTC (21 years, 6 months ago) by minskim
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
if-if-endif -> if-elif-endif

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue May 10 19:56:51 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
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.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed May 4 06:42:43 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 3 20:41:53 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue May 3 16:30:34 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -1 lines
Teach the new tools framework about MAIL_CMD.  We use mail/nail as a
"mail" replacement in case TOOLS_PLATFORM.mail is empty.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 2 04:42:08 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
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".

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 28 17:30:24 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
Note the "[" is natively available everywhere (usually as a shell builtin).

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Apr 27 17:46:26 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -4 lines
Linux doesn't seem have lex as part of the base system, so don't bother
with the check.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Apr 27 16:52:28 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +70 -70 lines
Rename PLATFORM_TOOLS.* to TOOLS_PLATFORM.* to bring the variable names
under the same namespace as the other parts of the new tools framework.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 27 15:59:57 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -1 lines
Note lex if it's present on the system.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Apr 27 15:36:26 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2 lines
Fix erroneous path to sed and add a check for bison.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Apr 27 15:28:16 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>