CVS log for pkgsrc/mk/tools/autoconf.mk
Up to [cvs.NetBSD.org] / pkgsrc / mk / tools
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Dec 1 16:09:09 2024 UTC (23 months, 2 weeks ago) by taca
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,
HEAD
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +70 -10
lines
mk/tools/autoconf.mk: add support for autoconf269
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jun 27 10:27:21 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +14 -14
lines
Split native and cross LOCALBASE for cross-compilation.
This way, you can use an unprivileged prefix of ~/cross/pkg to
cross-compile packages that, when installed, will go in /usr/pkg.
In mk.conf:
- Set CROSS_LOCALBASE to determine the installation prefix of
packages that you cross-compile.
- Set LOCALBASE to determine the installation prefix of native
packages needed for cross compilation.
Both default to /usr/pkg. Note: CROSS_LOCALBASE defaults to /usr/pkg
even if you set LOCALBASE. Of course, if you're not cross-compiling,
this has no effect.
When cross-compiling a package:
- LOCALBASE is where cross-compiled packages will be installed.
(`make install' will put it in ${CROSS_DESTDIR}${LOCALBASE}, of
course, but when you later use pkg_add to install the binary
package on the system you're compiling it for, it will go in
${LOCALBASE}. And you can still set PREFIX for an individual
package, but LOCALBASE refers to where cross-compiled packages are
generally installed, other than the specific ones that override
PREFIX.)
- TOOLBASE is where tool dependencies are installed and available to
be executed at build-time.
For example, if you have TOOL_DEPENDS on a program that is
installed in (say) foo/bin/xyz which is not in PATH so you have to
refer ot its full pathname, you can execute ${TOOLBASE}/foo/bin/xyz
instead of ${LOCALBASE}/foo/bin/xyz.
I chose this split, rather than the other way around, because I
expect that references that are baked into installed packages to be
more common than references that are executed at build-time, but I
didn't do an extensive study of the matter. I chose the name
TOOLBASE because it's where TOOL_DEPENDS go.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Mar 4 23:29:24 2023 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
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.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Nov 23 13:06:33 2022 UTC (3 years, 11 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -3
lines
mk: Only create GNU missing wrappers when needed.
There is no point creating wrappers that warn about missing particular
autoconf, automake, and intltool commands if we aren't using GNU configure
at all.
Saves around 140 execs for every package without GNU_CONFIGURE=yes.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 15 10:49:28 2019 UTC (7 years, 6 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
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,
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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -1
lines
mk/tools: Add support for autoconf*:test and automake*:test
Thanks to <martin> for catching the unintended autoconf tool dependency!
Revision 1.20: 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-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +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.19: download - view: text, markup, annotated - select for diffs
Fri Mar 9 21:51:20 2018 UTC (8 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -2
lines
mk/tools/autoconf.mk: improve documentation for autoreconf
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 25 13:05:47 2015 UTC (10 years, 11 months ago) by jperkin
Branches: MAIN
CVS tags: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +14 -16
lines
Remove mk/find-prefix.mk and its usage from the mk infrastructure.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.
Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.
Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Feb 11 23:39:35 2015 UTC (11 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -1
lines
Added keywords for "bmake help".
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu May 9 23:37:27 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.
ok agc
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 17 22:13:36 2009 UTC (17 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
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,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
Replaced _PKG_SILENT and _PKG_DEBUG with RUN.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Dec 15 13:15:07 2006 UTC (19 years, 11 months ago) by martti
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
jlam-pkgviews-base,
jlam-pkgviews,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Remove trailing tabs.
Revision 1.7.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.7.2.2: +0 -190
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.13: download - view: text, markup, annotated - select for diffs
Sun Jul 17 21:36:24 2005 UTC (21 years, 4 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
pkgsrc-2005Q4-base,
pkgsrc-2005Q4,
pkgsrc-2005Q3-base,
pkgsrc-2005Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -14
lines
Rename the following variables for brevity:
TOOLS_REAL_CMD.<tool> => TOOLS_PATH.<tool>
TOOLS_REAL_ARGS.<tool> => TOOLS_ARGS.<tool>
TOOLS_REAL_CMDLINE.<tool> => TOOLS_CMDLINE.<tool>
Revision 1.12: 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.11: preferred, colored
Changes since revision 1.11: +19 -10
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.11: 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
CVS tags: pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -4
lines
Remove unnecessary .undef lines after .for loops as the loop variables
are automatically undefined after the loop exits.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 1 20:08:01 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -15
lines
Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14". Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
Revision 1.9: 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.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
Grammar 101 -- sentences should end in a period.
Revision 1.8: 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.7: preferred, colored
Changes since revision 1.7: +37 -1
lines
Add TNF copyright to the new tools framework makefiles.
Revision 1.7.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.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +190 -0
lines
sync [all but bsd.pkg.mk] with HEAD
Revision 1.7.2.1
Mon May 16 18:54:06 2005 UTC (21 years, 6 months ago) by tv
Branches: tv-derecurse
FILE REMOVED
Changes since revision 1.7: +0 -190
lines
file autoconf.mk was added on branch tv-derecurse on 2005-05-17 18:29:46 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 16 18:54:06 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.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
In the autoconf213 case, the AUTO* variables should point to the
TOOLS_CMD.* variables for the -2.13 variants. Otherwise, they're
empty, which causes errors for packages that use ${AUTOCONF}.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed May 11 20:09:44 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +62 -61
lines
Rewrite so that we avoid needing to check the value of TOOLS_REAL_CMD.*
within make. This allows us to use EVAL_PREFIX to locate the installation
prefix for autoconf and automake, which is more pkgviews-friendly. In any
case, this implementation is a lot simpler anyway.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 10 19:34:02 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
TOOLS_CREATE has replaced TOOLS_{SYMLINK,WRAP}.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 28 03:01:11 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +13 -3
lines
Define TOOLS_DEPENDS.* to be the dependency that will be added, and
filter out dependencies that have already been added.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 26 15:32:05 2005 UTC (21 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -14
lines
As of bsd.tool.mk:1.6, TOOLS_CMD.<tool> defaults to
${TOOLS_DIR}/bin/<tool>, so remove redundant settings.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 15 05:30:48 2005 UTC (21 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +12 -4
lines
Avoid dependency loops by setting and checking TOOLS_IGNORE.* guards.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 15 00:00:21 2005 UTC (21 years, 7 months ago) by jlam
Branches: MAIN
Initial commit of the new tools framework. This is currently designed
to be a drop-in replacement for mk/tools.mk, but isn't yet enabled
pending further testing. To use, edit bsd.pkg.mk to include bsd.tools.mk
instead of tools.mk.
The major changes from the old tools framework are:
(1) The new interface to using the tools framework is through setting
USE_TOOLS in the package Makefile, e.g.,
USE_TOOLS+= autoconf gmake yacc
(2) Bison/yacc handling is improved. Instead of adding checks for
/usr/bin/yacc to the package Makefile and explicitly setting YACC,
e.g., security/mit-krb5/Makefile, simply add "yacc" to USE_TOOLS.
If bison is explicitly required, then add "bison" to USE_TOOLS
instead.
(3) GNU auto* tools are handled differently. "autoconf", "aclocal",
"automake", etc. will be tools in ${TOOLS_DIR} that point to the
correct versions of the auto* tools. Instead of patching Makefiles
or scripts to use ${AUTOCONF}, ${ACLOCAL}, etc., the correct
versions of the tools will be called if they are invoked simply
by their bare names. This is selected by adding either "autoconf"
or "autoconf213", or "automake" or "automake14" to USE_TOOLS.
The new tools framework will deprecate the following variables:
ACLOCAL AUTORECONF
AUTOCONF BUILD_USES_GETTEXT_M4
AUTOHEADER USE_GNU_TOOLS
AUTOMAKE USE_TBL
The new tools framework will deprecate the following *.mk files:
mk/autoconf.mk
mk/automake.mk
mk/tools.mk
Additional documentation on how to use bsd.tools.mk to create new tools
under ${TOOLS_DIR} may be found in the header comments in bsd.tools.mk.
CVSweb <webmaster@jp.NetBSD.org>