Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
value of _PLIST_IGNORE_FILES in the BUILD_INFO file so that pkg_view(1)
can use it to ignore the same set of files.
|
|
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.
|
|
instead reserving it for when adding to or deleting from a view. This
prevents dir files from overwriting each other if we move a depoted package
directly into a view directory.
|
|
|
|
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.
|
|
|
|
values in an .if..elif..endif statement, instead of just .if..else..endif.
This makes it more obvious what the alternative condition is.
|
|
no longer a user-settable option (see PKG_DBDIR_DFLT instead).
|
|
a few more variables.
|
|
|
|
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.
|
|
flags to specify package database directories, instead of setting up a
shell environment for the pkg_install tools. The latter was more prone to
error.
|
|
whether we are using the dynamic PLIST facility or if we're using the PLIST
kept with pkgsrc. PLIST_TYPE is only relevant if PKG_INSTALLATION_TYPE is
set to "pkgviews".
|
|
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.
|
|
under ${PREFIX} prior to calling the do-install target. Try to be smart
about using the right ${INSTALL_*_DIR} to create the directory. This is a
cheap way to list some directories we want to create for a "pkgviews"
package since we don't run mtree.
|
|
"overwrite" packages think headers and libraries for "pkgviews" packages
are just found in the default view.
|
|
|
|
add packages into the correct view when using pkg_add(1) (either
through bin-install or the bulk-build process).
|
|
we're assuming pkgviews here), and default the BUILDLINK_DEPOT.<pkg>
variable to be the default view directory if <pkg> isn't installed.
|
|
to either DEPOT_PKG_* or PKG_* and consistently use _PKG_* to avoid having
to constantly condition on the value of PKG_INSTALLATION_TYPE.
|
|
set to the DEPOTBASE. This is used for all pkgviews-related uses of
pkg_admin(1).
|
|
that set USE_X11BASE or USE_IMAKE (there are ~500 such packages).
|
|
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.
|
|
|
|
several times I did this.
|
|
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.
|
|
dependency checks can be made by looking in only one place.
|
|
it supporting ${var#pattern} (NetBSD's /bin/sh and ksh seem to do so).
|
|
for pkgviews developers.
|
|
packages is impacted as little as possible during pkgviews integration.
Most of the old changes are unnecessarily mostly because we now have
buildlink3 for "pkgviews" packages, so this file no longer needs to worry
about "pkgviews" packages.
|
|
|
|
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.
|
|
|
|
|
|
bsd.prefs.mk. We don't want users to get the idea that this variable is
something that they set in /etc/mk.conf.
|
|
_do_ need an xpkgwedge package to force USE_IMAKE packages to install into
a depot directory rather than directly into ${X11BASE}, so split the
migration process into three steps:
(1) Migrate all non-USE_IMAKE packages.
(2) Make xpkgwedge the default (flag day).
(3) Migrate all USE_IMAKE packages.
Also remove all of the ramblings about buildlink into a file to be
committed with the new buildlink/pkgviews work.
|