CVS log for pkgsrc/mk/tools/defaults.mk
Up to [cvs.NetBSD.org] / pkgsrc / mk / tools
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jul 1 12:02:33 2026 UTC (4 months, 2 weeks ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
HEAD
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -1
lines
mk/tools/defaults.mk: Document that TOOL bash must be >= 4.0
macOS ships bash 3 (despite bash4 being released in 2009), and pkgsrc
had a few accomodations for packages that needed bash where bash 3 did
not work. pkgsrc no longer uses macOS system bash as a tool, as such
workarounds being in packages is not reasonable.
Requiring system bash >= 5 to allow use as TOOL would seem reasonable,
as bash 5.0 was released in 2019. However, SmartOS uses bash 4, and
years of bulk builds have turned up no problems from bash 4 as a tool.
Therefore, there is no reason to exclude 4, as the point of setting
minimums is to limit human effort and secondarily reduce needless
machine resource use.
While this commit only adds a comment, it provides a basis to
- remove any workarounds for bash 3 as a tool
- disable TOOLS_PLATFORM.bash settings on platforms where bash is < 4
- add a workaround to a package if it needs TOOL bash but is not ok
with bash 4
As discussed on tech-pkg@.
Revision 1.66: 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
CVS tags: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1
lines
Add new tool "git", oked by gdt@ and wiz@
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Apr 12 19:53:25 2024 UTC (2 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base,
pkgsrc-2024Q2
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +11 -4
lines
mk: New CROSS_* variable scheme for cross-compilation.
This change brings in support for cross-OS-compilation.
Caveat: Existing mk.conf files used for cross-compilation no longer
work; they must be adapted to the new scheme.
Under this new scheme, if an mk.conf variable X can be different for
native and cross builds like OPSYS, MACHINE_ARCH, LOCALBASE, &c., you
just define X in mk.conf to set it for native builds, and CROSS_X in
mk.conf to set it for cross builds.
Example:
LOCALBASE= /home/riastradh/pkgsrc/cross/pkg
CROSS_LOCALBASE= /opt/pkg
CROSS_MACHINE_ARCH= powerpc
For now, _all_ OS-related variables must be defined in cross-builds;
none are filled in automatically. For NetBSD, this means:
CROSS_OPSYS= NetBSD
CROSS_OS_VERSION= 10.0
CROSS_OPSYS_VERSION= 100000
CROSS_LOWER_OPSYS= netbsd
CROSS_LOWER_OPSYS_VERSUFFIX=# empty
CROSS_LOWER_OS_VARIANT= # empty
CROSS_LOWER_VARIANT_VERSION=# empty
CROSS_LOWER_VENDOR= # empty
This new scheme may raise make(1) costs by making a lot of variables
like OPSYS expand to conditionals rather than fixed strings. It is
difficult to make these fixed strings because:
- they can only be committed _after_ mk.conf is loaded, before which
USE_CROSS_COMPILE isn't yet determined, but
- the conditionals must be applied _before_ the rest of bsd.own.mk
which uses these variables.
So we can't just have conditionals in bsd.prefs.mk after loading
bsd.own.mk -- we would need to put the conditionals in the middle of
bsd.own.mk between loading mk.conf and everything else.
As a followup commit, we can consider committing the variables after
bsd.own.mk as an optimization so that the conditional expansions are
only used inside bsd.own.mk and not in any other infrastructure. Or
we can consider putting a hook inside bsd.own.mk for committing the
variables there too. But let's see how this works out in practice
first.
Revision 1.64: 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-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -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.63: download - view: text, markup, annotated - select for diffs
Thu Jan 6 10:19:11 2022 UTC (4 years, 10 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1
lines
Extract .zst distfiles using archivers/zstd.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Aug 22 20:48:37 2018 UTC (8 years, 2 months ago) by maya
Branches: MAIN
CVS tags: 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,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
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,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -8
lines
Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.
This change has been applied to code which is likely not in other
repositories.
ok board@, reviewed by riastradh@
Revision 1.61: 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-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
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,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1
lines
Provide uniq(1) as a TOOLS.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Dec 1 02:57:36 2013 UTC (12 years, 11 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2
lines
fixes last commit (copy&paste error).
Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Nov 6 13:12:50 2013 UTC (13 years ago) by obache
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -1
lines
Add `xz' command as a TOOL.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Oct 1 10:45:16 2012 UTC (14 years, 1 month ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1
lines
Add 7z archive distfile support.
Fix PR pkg/42967
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Jul 8 12:51:16 2009 UTC (17 years, 4 months ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
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,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -1
lines
Add xzcat as a tool and update lzcat's TOOLS_DEPENDS to avoid conflicts.
archivers/xz provides both lzcat and xzcat.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Feb 5 19:03:29 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -2
lines
Drop tools/bootstrap.mk. It was mostly reundant as the bootstrap
components are correctly registered as dependencies. Move the remaining
two exceptions into the corresponding platform files.
XXX Both the strip and mkdir-sh are currently not registered
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Nov 15 20:20:44 2008 UTC (18 years ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1
lines
Add lzcat to the tools framework.
lzcat will be used to decompress .lzma files.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Dec 18 10:18:49 2007 UTC (18 years, 11 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -0
lines
Doing USE_TOOLS+=cmake in the configure stage is too late so move it
to tools. Also cmake wants cpack to exist in the same directory so
toolise it and make cmake and cpack imply each other.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Dec 12 01:00:40 2007 UTC (18 years, 11 months ago) by markd
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1
lines
Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it in
the configure stage of a build (by setting USE_CMAKE=yes).
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Aug 10 03:46:10 2007 UTC (19 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -1
lines
Give rpm2pkg a standard variable name "RPM2PKG" and teach GNU configure
scripts about "cat".
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jun 19 17:01:31 2007 UTC (19 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -1
lines
Create IDENT variable by default.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jun 19 17:01:12 2007 UTC (19 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1
lines
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.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Oct 15 01:56:06 2006 UTC (20 years, 1 month ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
jlam-pkgviews-base,
jlam-pkgviews
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -1
lines
Teach how to unpack .gem files.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Jul 13 15:27:57 2006 UTC (20 years, 4 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -1
lines
Add DIGEST to the variables defined by default.
Revision 1.47: 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
CVS tags: pkgsrc-2006Q2-base,
pkgsrc-2006Q2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -1
lines
Teach the tools framework about "openssl".
Revision 1.15.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.15.2.2: +0 -108
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.46: 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.45: preferred, colored
Changes since revision 1.45: +2 -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.45: 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.44: preferred, colored
Changes since revision 1.44: +2 -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.44: download - view: text, markup, annotated - select for diffs
Sat Jan 21 14:40:31 2006 UTC (20 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2
lines
unzip uses UNZIP as a special environment variable to denote the options
to pass to unzip. While this is stupid, it's still the reality, so we
must not set UNZIP in the environment when calling unzip. Rename "UNZIP"
to "UNZIP_CMD" to point to the path to the unzip binary.
Revision 1.42.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.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +2 -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.43: 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.42: preferred, colored
Changes since revision 1.42: +2 -1
lines
Teach the tools framework about "gsoelim", which is the soelim tool from
a groff distribution.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Nov 8 23:06:38 2005 UTC (21 years ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base
Branch point for: pkgsrc-2005Q4
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -1
lines
Teach the tools framework about wish and tclsh, and set WISH and TCLSH
accordingly for packages that need it.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Nov 8 03:36:13 2005 UTC (21 years ago) by tv
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1
lines
Add "soelim", also part of groff if replacement is needed.
Revision 1.40: 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.39: preferred, colored
Changes since revision 1.39: +2 -1
lines
Teach the tools framework about "sleep" which can be provided by the
sysutils/coreutils package.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Nov 4 19:28:33 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
Add a GNU variable for byacc so configure scripts will use YACC=byacc.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Nov 4 19:27:13 2005 UTC (21 years ago) by jlam
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -1
lines
Add 'printf' and 'byacc' variables corresponding to the new tools in
replace.mk.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 26 20:00:50 2005 UTC (21 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1
lines
Provide a "pod2man" tool used by some packages to build man pages.
Based on suggestion by Matthias Drochner.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Jul 15 20:14:04 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,
USE_TOOLS+= perl:run
Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jul 15 18:27:55 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4
lines
Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
Revision 1.34: 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.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
Teach the tools framework about csh, and replace with tcsh if necessary.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jun 24 20:33:52 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -2
lines
Remove unused variable _TOOLS_VARNAME.ldconfig.
Revision 1.32: 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.31: preferred, colored
Changes since revision 1.31: +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.31: download - view: text, markup, annotated - select for diffs
Thu Jun 23 20:39:39 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1
lines
Teach the tools framework about "diff".
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jun 17 17:05:18 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -1
lines
Pull out the LS and TR definitions from algae/Makefile and place them
in tools/defaults.mk where they can be more widely used.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jun 17 16:24:51 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
PERL_PATH is also a common GNU configure script variable for the path to
the perl interpreter.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jun 11 05:22:03 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3
lines
Remove unnecessary .undef lines after .for loops as the loop variables
are automatically undefined after the loop exits.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jun 10 20:53:54 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -2
lines
Force an autoconf "cache" override for tools that are likely to be
shell builtins, e.g. echo, false, test, true, since those tools don't
have a full path.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jun 7 16:57:37 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
Add another common name for the GNU configure variable name used for the
"env" tool.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jun 7 16:33:12 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -2
lines
Add a few more GNU configure variable names that are commonly used.
Also, some configure scripts use "ENV" to represent the path to the
"env" tool, which is probably bad since ENV has a special meaning to
/bin/sh. To workaround this, set ac_cv_path_ENV.
Revision 1.24: 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.23: preferred, colored
Changes since revision 1.23: +2 -1
lines
Teach the tools framework about mktemp. Replace explicit tests for
mktemp with USE_TOOLS+=mktemp in the samba packages.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu May 26 21:46:13 2005 UTC (21 years, 5 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 nroff.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon May 23 17:07:22 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
Work around brokenness in GNU configure scripts generated by autoconf-2.59a
-- the checks for grep and egrep are broken because when passed GREP
and EGREP in the environment, the script causes GREP and EGREP to be
set to empty strings, which causes GNU configure scripts to hang or
break. Pass the real paths to grep and egrep through using ac_cv_path_GREP
and ac_cv_path_EGREP as well to avoid the brokenness. This fixes the
build of textproc/gsed.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun May 22 20:58:27 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -2
lines
Don't add "INSTALL" to CONFIGURE_ENV as bsd.pkg.mk adds special values
for INSTALL by itself during the configure stage. This fixes problems
with GNU configure scripts using the wrong value of INSTALL.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 22 01:53:55 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -1
lines
Add a few more tools for GNU configure scripts: grep, env, xmkmf.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat May 21 23:09:36 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +32 -1
lines
For packages that use GNU configure scripts, pass the real command
paths for the tools that the package uses through the shell environment.
We do this since these paths may be hardcoded into package scripts,
and if they're not pre-specified, then they'll be searched for in the
PATH, which would find the ones in ${TOOLS_DIR}.
The variable names that GNU configure scripts expect are named in
_TOOLS_VARNAME_GNU.* for the various tools.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat May 21 04:53:17 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Grammar 101 -- sentences should end in a period.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat May 21 04:46:52 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +36 -1
lines
Add TNF copyright to the new tools framework makefiles.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue May 17 18:34:45 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1
lines
Move perl handling into replace.mk. We now can specify USE_TOOLS+=perl
to note that we need the perl binary and the associated PERL5 and
TOOLS_PERL5 variable definitions.
Revision 1.15.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.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +108 -0
lines
sync [all but bsd.pkg.mk] with HEAD
Revision 1.15.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.15: +0 -108
lines
file defaults.mk was added on branch tv-derecurse on 2005-05-17 18:29:46 +0000
Revision 1.15: 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.14: preferred, colored
Changes since revision 1.14: +2 -2
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.14: 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.13: preferred, colored
Changes since revision 1.13: +2 -6
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.13: download - view: text, markup, annotated - select for diffs
Sat May 14 20:05:05 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -1
lines
Temporarily define TAR here until I figure out a better way to deal
with TAR vs. GTAR. This fixes pkg_install not being created with a
tar command.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat May 14 19:01:14 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
The mk/tools/defaults.mk is included by bsd.prefs.mk, so it must include
other files without making assumptions about the location of the top of
the pkgsrc tree. This fixes problems with running "make bulk-cache"
in /usr/pkgsrc (PR pkg/30288).
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 13 22:08:20 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1
lines
Teach the new tools framework about lha, unrar, unzip, and unzoo and
modify bsd.pkg.extract.mk to use them. As a side-effect, we stop
hardcoding ${LOCALBASE} as the install prefix for these tools so this
becomes more pkgviews-friendly.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 12 03:57:40 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -2
lines
Observe the following:
VAR= a
PTR= VAR
${PTR}?= b
Given these definitions, ${VAR} == "b" (unintuitively). We can work
around this by doing:
VAR= a
PTR= VAR
.for _v_ in ${PTR}
${_v_}?= b
.endfor
In this case, ${VAR} == "a" (as expected).
Use the second form of assignment in this changeset so that the expected
behavior happens for the "TOOL" name variables. This fixes "recursively
defined" errors for some of the "TOOL" variables when the pkgsrc tool
replaces the system-supplied one.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 10 19:52:30 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -2
lines
Split out "strip" from the USE_TOOLS processing in replace.mk. Instead,
we create a "strip" tool unconditionally, and make it either a no-op or
the real thing depending on the whether we want unstripped files or not.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue May 10 19:06:59 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -4
lines
Make a distinction between the tools that pkgsrc needs and the tools
that a package needs. Tools that pkgsrc needs are listed in
PKGSRC_USE_TOOLS, and tools that a package needs on top of that are
listed in USE_TOOLS.
Define "TOOL" variables, e.g. SED, AWK, MKDIR, etc. for each of the
tools that pkgsrc needs, and "TOOLS_TOOL" variables, e.g. TOOLS_SED,
TOOLS_AWK, TOOLS_MKDIR, etc. for each of the tools that a package
needs. These variables contain the full command line to the real
command and arguments needed to invoke the tool.
Revision 1.7: 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.6: preferred, colored
Changes since revision 1.6: +2 -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.6: 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.5: preferred, colored
Changes since revision 1.5: +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.5: 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.4: preferred, colored
Changes since revision 1.4: +2 -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.4: download - view: text, markup, annotated - select for diffs
Mon May 2 21:10:03 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1
lines
* Push the imake- and xmkmf-handling into the new tools framework.
* Get rid of an explicit check for ${_IMAKE_MAKE} == ${GMAKE} in
bsd.pkg.mk to check for whether we need to depend on gmake or not.
Instead, we now note in Linux.mk that packages that need imake will
also need to use gmake by setting _IMAKE_TOOLS+=gmake.
* Push the definition of MAKE_PROGRAM from bsd.pkg.mk into make.mk where
it's closer to related code.
Revision 1.3: 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.2: preferred, colored
Changes since revision 1.2: +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.2: download - view: text, markup, annotated - select for diffs
Mon May 2 02:50:34 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Teach the new tools framework about USE_TOOLS+=bzcat.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Apr 30 04:35:54 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Split replace.mk into two parts, one of which is included by bsd.prefs.mk
to provide "TOOL" definitions for tools used by a top-level make process
(usually because it uses them in a != variable definition). This allows
USE_TOOLS to be defined before bsd.prefs.mk is included by a package
Makefile, where USE_TOOLS lists the additional (non-default) tools that
are required to build the package.
Also, drop the fallback to existing "TOOL" definitions because we now
have TOOLS_PLATFORM.* for each platform in pkgsr/mk/tools/tools.*.mk.
CVSweb <webmaster@jp.NetBSD.org>