Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
|
|
|
|
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.
Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.
XXX: Where should incompatible changes in pkgsrc be documented?
|
|
to non sh compatible shell in environment. Thanks to Georg Schwarz.
|
|
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
|
|
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
|
|
USE_TOOLS+=msgfmt.
|
|
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
|
|
|
|
|
|
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
|
|
CONFIGURE_ARGS.
|
|
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
|
|
|
|
/bin/sh cannot handle two adjacent ((.
|
|
|
|
${PREFIX}.
|
|
|
|
|
|
USE_GNU_TOOLS -> USE_TOOLS
awk -> gawk
m4 -> gm4
make -> gmake
sed -> gsed
yacc -> bison
|
|
|
|
|
|
for it from compiler.mk.
Move the variable of the same name used by compiler/gcc.mk and
the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
|
|
|
|
|
|
|
|
|
|
already in lang/gcc34:
1) Locate adalib for bootstrap compiler with ${ALT_GCC} --print-file-name=adalib
rather than find. This behaves better if ${ALT_GCC} does not specify
a gcc executable.
2) Elide trailing letters from GCC_PLATFORM so that GCC_ARCHSUBDIR
remains constant for CURRENT when the version letter changes.
|
|
|
|
as x86_64--netbsdelf when it is identified as x86_64--netbsd.
2) Check the version of as using the just-computed ${AS_PATH}, not ${AS},
following the change to gcc3/Makefile.common submitted by jlam@netbsd.org
|
|
1) Test and mkdir if necessary to correct problem reported by
Matthias Drochner: "For me (using ALT_GCC), the directory .work/.gcc was
not present at pre-configure time, which made some "cd" fail."
2) Makefile and pkglint cleanup as recommended by Lubomir Sedlacik
|
|
by changes in the 3.4.1 source. The third does not apply to the Ada
language.
|
|
fixed in the 3.4.1 branch. The third only applied to c++.
2) Remove USE_GCC33ADA option because it does not work. The gcc3-ada
compiler can be used as an Ada bootstrap compiler by specifying
ALT_GCC
3) Incremented PKGREVISION
|
|
2) Added CONFIGURE_ARGS+=--with-system-zlib logic to Makefile for
consistency with gcc34
3) Incorporated logic from gcc3 that determines whether to add
binutils dependency or not.
4) Eliminated hardcoded target of netbsdelf2.0 as a step toward supporting
other architectures.
|
|
libiconv. Make sure the rpath includes ${LOCALBASE}".
|
|
were made to the gcc codebase with this delta.
|
|
|
|
|
|
${BUILDLINK_PREFIX.gcc34-ada}/bin/gcc before calling it.
|
|
|