Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
contains the pkgviews migration plan as well as any other
buildlink3/pkgviews ideas that we may have.
|
|
source directory.
|
|
|
|
|
|
FOO_BUILDLINK_MK -> FOO_BUILDLINK3_MK
Thanks, seb!
|
|
cache to speed things up:
passthru automatically accept certain options without
further checking
transform change -[IL]{${X11BASE},${LOCALBASE},${DEPOTBASE}/*}
to the correct ${BUILDLINK_DIR} reference
block block certain options without further checking
Seeding the cache appropriately lets us handle large classes of options
without having to go through the wrapper logic file, which generates
a cache hit for every single option and bloats the cache quite bit more.
The implementation is at the bottom of bsd.buildlink3.mk where
${_BLNK_WRAP_CACHE_ADD_TRANSFORM} is generated.
For now, only do the passthru stuff, since I'm not sure of the correctness
of the other two phases. "transform" is probably okay, but "block" may be
a tad too aggressive.
|
|
removed when unbuildlinkifying files.
Also properly convert -[IL]${DEPOTBASE}/<pkg>/path to
-[IL]${BUILDLINK_DIR}/path in the seeded cache so that we can properly
use pkgviews packages as dependencies for overwrite packages.
|
|
|
|
differentiate between the start and end of the mangled name.
* Change references to ${DEPOTBASE}/<pkg> into ${LOCALBASE} so that
"overwrite" packages think headers and libraries for "pkgviews" packages
are just found in the default view.
* Remove extra bit of _UNBUILDLINK_SED that duplicates sed commands that
are added by the depot:...:... command.
|
|
Also be more strict about matching either non-separators or separators that
can appear after a directory name.
|
|
|
|
${DEPOTBASE}/<pkg>, not just ${DEPOTBASE}, into ${BUILDLINK_DIR}.
|
|
argument "-Wl,--rpath,/path/to/dir". This makes the cache-lookup much
easier.
|
|
the option flag and the directory that follows it.
|
|
|
|
drags in most of the functionality present in buildlink2. We try
something new to prevent libtool from looking in ${LOCALBASE}/lib
for more libtool archives. Also, modify the cache-seeding to occur
in stages and allow for a way to specify which stages we want.
Currently, we seed with only the passthru and transforming bits.
|
|
if they're defined, to the CPPFLAGS and LDFLAGS passed to the build.
(*) Fix a silly error that stopped files for "overwrite" packages from
being symlinked into ${BUILDLINK_DIR} -- a "$" was used instead of "$$".
(*) Normalize a few status messages (printed by ${ECHO_BUILDLINK_MSG}) so
that they match formats with the rest of pkgsrc. By default, these
messages are suppressed.
|
|
discard them.
|
|
|
|
|
|
|
|
|
|
what we'll be using the variable for.
|
|
set via != for every sub-make process.
|
|
where the actual files for a depoted package are.
|
|
|
|
|
|
|
|
support a command-line option to specify the pkg_dbdir, we can keep the
old PKG_DBDIR semantics without change. This is less impactful for when
we merge.
|
|
flags that we allow to specify an rpath, and it's okay to use "-Wl,"
instead of ${_COMPILER_LD_FLAG} since compilers that don't support it will
have those args automatically removed by the wrapper scripts.
|
|
modifications are needed to convert packages to use pkgviews.
|
|
pkg_admin(1) to search through package metadata directories.
|
|
definition of BUILDLINK_X11_DIR to point to the right place if x11-links is
installed.
|
|
modify pkgsrc to use the new variable. This greatly simplifies a lot of
the code instead of having to overload the value of PKG_DBDIR as we did
before this change.
|
|
allowed directories in the runtime library search path.
|
|
we're assuming pkgviews here), and default the BUILDLINK_DEPOT.<pkg>
variable to be the default view directory if <pkg> isn't installed.
|
|
automatically take care of it.
|
|
variables/loops. Setting temporary variables in loops doesn't really work
(or at least not all of the time), so rewrite loops to avoid setting
temporary variables.
|
|
replacing with ${LOCALBASE}, otherwise we're not matching the full depot
directory.
|
|
|
|
|
|
|
|
We make sure that we don't ever reference other .la files from installed
.la files, only referring to other libraries via the usual "-L/path -llib"
and making sure that /path is always somewhere under the default view.
This makes wildcard dependencies work for "overwrite" packages by letting
libtool find libraries in the default view.
A similar change may be needed for pkgsrc/mk/buildlink2/libtool-fix-la
during the pkgviews integration.
|
|
it supporting ${var#pattern} (NetBSD's /bin/sh and ksh seem to do so).
|
|
what pkgsrc basically assumes is present. We sanitize rpath arguments
(buildlink2 already did this via sanitize-rpath, but we do it another
way here) and we do something new: convert GCC's "-Werror" into the
flag with corresponding functionality for the SunPro compiler
(suggested in private email from salo).
|
|
wrapper framework.
|
|
of these files is.
|
|
take advantage of pkgviews.
More thought is needed for the pkgviews/libtool interaction because
libtool archives (*.la) will likely contain absolute paths to other
.la files in depot directories, but we don't want this since binary
packages with wildcard dependencies may break.
|