Age | Commit message (Collapse) | Author | Files | Lines |
|
when a package use the buildlink2 framework but does not define
USE_MAKEINFO. Well it was not after all.
This caused annoying messages because missing's commands emit annoying error
messages when the script is invoked with only 'makeinfo' as argument
(typically run this way by configure scripts). And more it does not
handle makeinfo's '--output=...' argument.
I first thought that it could be used as a nice way to get ride of the need
for makeinfo when it was only dubiously run during build or installation
of a package. But it also has the annoying behavior of creating empty files
because of the typical automake generated Makefile target for info file
build.
Making the buildlink2's makeinfo hiding script only logging an error
and doing 'exit 1' is actually a better tool to spot the need for makeinfo.
|
|
makeinfo commands.
The goal of the new framework is twofold:
- reduce the number of '@exec' and '@unexec' in PLIST by
using INSTALL/DEINSTALL scripts to handle entries addition/removal
Info directory file.
- achieve lighter dependencies by avoiding unnecessary run-time
dependency on the gtexinfo package and if needed with the help of the
standalone install-info command provided by the recently imported package
pkgtools/pkg_install-info.
A package must be sightly updated to use this new framework and
must define the variable USE_NEW_TEXINFO. This variable will
be removed from the pkgsrc tree when all package would have been
updated.
For details see section 10.24 of Packages.txt, comments in
mk/{texinfo.mk,buildlink2/bsd.buildlink2.mk} and upcoming mail to
<tech-pkg at netbsd dot org>.
|
|
followup to PR pkg/20529:
Some libraries (in this example, a given Linux's native libpthread) don't
come with a version number at all and/or are in fact symlinks. Test for
this and act accordingly in fake-la.
This allows packages that use pthread to buildlink under various Linuxen.
Should close PR pkg/20529 and PR pkg/21854. Thanks, Joachim.
|
|
|
|
error message of "Unable to create as wrapper script: no such file" could
get confused.
|
|
|
|
|
|
using gcc.
fixes problem on Solaris where building pkgs would use the wrong CC
(eg. CC=gcc) due to the wrappers being in the $PATH first.
|
|
On solaris for instance if one put /usr/lib in their path before /usr/ccs/bin
it would match /usr/lib/ld rather than /usr/ccs/bin/ld except that
/usr/lib/ld is a directory...
|
|
named using the shell pattern actually exist.
|
|
dependency_libs definitions in *.lai files. This should remove another
instance that can cause "buildlink2 leakage" into installed files under
${LOCALBASE}.
|
|
|
|
Xrender.
|
|
|
|
|
|
|
|
doesn't get the /usr/pkg part expanded accidentally.
|
|
from outside of the work directory.
|
|
|
|
package. shlibtool will not build static libraries. Add handling in
bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to
LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with
a symlink to shlibtool, and teach buildlink2 about shlibtool. Bump
PKGREVISION of devel/libtool* packages to 11.
|
|
everywhere.
|
|
a harmless bug, and the scripts will now run a little faster.
|
|
|
|
archive case. Also output errors to stderr, not stdout (duh!).
|
|
This will hopefully prevent leakage from ever happening unnoticed.
|
|
on since 2002-10-30. This mostly affects KDE packages.
|
|
if ! test ...; then ...; fi
becomes:
if test ! ...; then ...; fi
and
if ! command; then ...; fi
becomes:
if command; then :; else ...; fi
This fixes PR 19690 by Frank Cusack <fcusack@fcusack.com>.
|
|
version 0.9 causes build failures in e.g. the "enlightenment" package.
|
|
stdout.
|
|
potentially allows for manipulating sequences of arguments instead of just
one argument at a time.
|
|
works, but not with full caching.
|
|
directories to the search list for libtool archives. Also make it clear
that the warning comes from the libtool wrapper.
|
|
archive that matches "-lfoo". This prevents breakage when someone does:
-L../src -L../src/.libs -lfoo
because libtool puts a .la file into both ../src and ../src/.libs. This
fixes PR 19583 by Julio Merino <jmmv@netbsd.org>.
|
|
|
|
Enable full caching for any SunOS arch and Darwin 6*.
|
|
|
|
libtool documentation. Specifically, many authors now link against an
uninstalled libtool archive with:
-L../package/source/dir -lfoo
instead of the correct (according to the libtool documentation):
../package/source/dir/libfoo.la
The workarounds convert the former into the latter. Changes originally
suggested by Rene Hexel <rh@netbsd.org> in private e-mail.
|
|
logic and caching in a more natural way.
|
|
|
|
path/subpath/libfoo.so => -Lpath/subpath -lfoo
and
path/libfoo.so => -Lpath -lfoo
This fixes converting /usr/lib/libintl.so into "-L/usr/lib -lintl", which
wasn't happening before.
|
|
(*) Since buildlink2 is a layer of abstraction atop the toolchain,
it's a logical place to deal with the vagaries of unusual
toolchains. For example, on Darwin we could reliably pass
the "-no-cpp-precomp" switch to every compiler invocation
by emitting it from the compiler wrapper. Likewise, the
use of _USE_RPATH in bsd.pkg.mk might be better handled in
the linker wrapper.
|
|
Always check for ${OPSYS} == "IRIX" (and not once for != and once for ==)
Always use "-Wl,-rpath,/path" rather than sometimes "-Wl,-rpath -Wl,/path"
and sometimes "-Wl,-rpath,/path".
|
|
|
|
caching, only building is needed.
|
|
Also change _BLNK_CACHE_ALL to take wildcard lists of MACHINE_PLATFORMs so
that specific operating system versions can be nailed down.
|
|
- only building pkgs is required.
- update platforms.
|
|
change "MacOS X" versions into their "Darwin" equivalents.
|
|
can test using gettext-lib instead of gettext, now that gettext-lib has
been converted to use buildlink2.
|
|
correct manipulation of variables containing values with escaped
metacharacters by the shell. The new code only does partial caching, which
doesn't cache "special" arguments that contain escaped metacharacters or
other oddly quoted values. On certain platforms listed in _BLNK_CACHE_ALL
in bsd.buildlink2.mk, we do full caching, which has enormous speed benefits
since it avoids an extra sed invocation per "special" argument.
Known working platforms:
MacOS X 10.1.5 (schmonz)
MacOS X 10.2 (grant)
NetBSD 1.6 [full caching] (jlam)
OpenBSD (cjep)
Solaris 8 (grant)
Solaris 9 (salo)
|
|
separated list of files relative to ${WRKSRC} on which we do PKGLOCALEDIR
replacement. This is in addition to the files on which we already do the
PKGLOCALEDIR replacement (Makefile.in* and Makefile*).
|