summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-08-26Add some comments at the top describing a typical buildlink3.mk file.jlam1-1/+22
2003-08-26Forgot a line continuation.jlam1-2/+2
2003-08-25Ignore texinfo "dir" files in ${INFO_DIR} (hi, seb!). Also record thejlam1-2/+6
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.
2003-08-25Revert PKG_DBDIR -> PKG_DBDIR_DFLT change. Since the pkg_* tools alljlam3-44/+47
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.
2003-08-25Don't do the info file handling at POST-INSTALL and DEINSTALL times,jlam1-2/+2
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.
2003-08-23Sync to HEAD.jlam7-39/+59
2003-08-23Tighten up and correct the section on rpath flags: add ${RPATH_FLAG} to thejlam1-8/+10
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.
2003-08-23Fix typo: "pkgview" should be "pkgviews".jlam1-2/+2
2003-08-23Style issue: if a variable can take two values, explicitly check for bothjlam1-5/+5
values in an .if..elif..endif statement, instead of just .if..else..endif. This makes it more obvious what the alternative condition is.
2003-08-23Remove a redundant PKG_DBDIR setting passed to a sub-make. PKG_DBDIR isjlam1-2/+2
no longer a user-settable option (see PKG_DBDIR_DFLT instead).
2003-08-23Re-order some code to bring logically related stuff together, and commentjlam1-21/+25
a few more variables.
2003-08-23Remove the _OPSYS_DEFAULT_PATH that I accidentally committed a while back.jlam1-2/+1
2003-08-23Rename BUILDLINK_DEPOT to BUILDLINK_PREFIX so that fewer packagejlam1-14/+14
modifications are needed to convert packages to use pkgviews.
2003-08-22Change two instances of DEPOTBASE into PKG_DBDIR where we are usingjlam1-3/+3
pkg_admin(1) to search through package metadata directories.
2003-08-22Make pkgtools/x11-links not recursively depend on itself, and fix up thejlam1-7/+6
definition of BUILDLINK_X11_DIR to point to the right place if x11-links is installed.
2003-08-22Require version 20030820 of the pkg_install tools to use the new -K and -kjlam3-23/+29
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.
2003-08-21Support PLIST_TYPE, which can be either "dynamic" or "static" to representjlam2-12/+33
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".
2003-08-21Use the 20030819 pkg_install tools, which support PKG_DBDIR_DFLT, andjlam5-107/+113
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.
2003-08-19Sync to HEADjlam5-44/+55
2003-08-19Add the depot directory of the package we're building to the list ofjlam1-1/+5
allowed directories in the runtime library search path.
2003-08-18If INSTALLATION_DIRS is defined, then create the listed subdirectoriesjlam1-1/+16
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.
2003-08-18Change references to -[IL]${DEPOTBASE}/* into -[IL]${LOCALBASE} so thatjlam1-6/+11
"overwrite" packages think headers and libraries for "pkgviews" packages are just found in the default view.
2003-08-18Require the 20020810 version of the pkg* tools.jlam1-2/+2
2003-08-17Alter pkgsrc infrastructure to use pkg_install-20030809, and properlyjlam2-12/+18
add packages into the correct view when using pkg_add(1) (either through bin-install or the bulk-build process).
2003-08-16Use DEPOT_PKG_ADMIN instead of PKG_ADMIN_CMD (just for correctness sincejlam1-4/+8
we're assuming pkgviews here), and default the BUILDLINK_DEPOT.<pkg> variable to be the default view directory if <pkg> isn't installed.
2003-08-16Define some _PKG_* variables representing the pkg_install tools that pointjlam3-70/+78
to either DEPOT_PKG_* or PKG_* and consistently use _PKG_* to avoid having to constantly condition on the value of PKG_INSTALLATION_TYPE.
2003-08-16Define a DEPOT_PKG_ADMIN command that runs pkg_admin(1) with PKG_DBDIRjlam1-1/+2
set to the DEPOTBASE. This is used for all pkgviews-related uses of pkg_admin(1).
2003-08-16Clarify that without defaulting to xpkgwedge, we can't convert packagesjlam1-11/+13
that set USE_X11BASE or USE_IMAKE (there are ~500 such packages).
2003-08-16Stop worrying about empty _COMPILER_LD_FLAG since the wrappersjlam1-13/+9
automatically take care of it.
2003-08-16Programming with make variables/loops is not like programming with shelljlam1-15/+17
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.
2003-08-16DEPOTBASE can no longer be ${X11BASE}/${DEPOT_SUBDIR}.jlam1-3/+2
2003-08-16Sync to HEAD for genindex.awk; I apparently missed this file the lastjlam1-30/+30
several times I did this.
2003-08-16We need to match the next directory part of ${DEPOTBASE}/* when we'rejlam1-3/+3
replacing with ${LOCALBASE}, otherwise we're not matching the full depot directory.
2003-08-16libtool-fix-la needs ${DEPOTBASE} and ${LOCALBASE}.jlam1-1/+3
2003-08-16Use commas instead of / as separator for sed expression involving paths.jlam1-3/+3
2003-08-16Use the common work log instead of our private one.jlam1-2/+2
2003-08-16Use comments to document this shell script. Also, add some new behaviour:jlam1-2/+75
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.
2003-08-16Note that we only support a single DEPOTBASE so that package lookups forjlam2-9/+5
dependency checks can be made by looking in only one place.
2003-08-16Don't rely on the shell supporting ${var%%pattern}, although we do rely onjlam1-4/+9
it supporting ${var#pattern} (NetBSD's /bin/sh and ksh seem to do so).
2003-08-16No longer support undocumented USE_X11_LINKS. It just makes life harderjlam2-32/+1
for pkgviews developers.
2003-08-16Undo most of the changes to this file so that building of "overwrite"jlam1-94/+49
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.
2003-08-16Sync to HEAD for tools.mk changes.jlam10-322/+246
2003-08-16Make the SunPro compilers look-and-feel a bit more like GCC, which isjlam3-3/+60
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).
2003-08-16Add comments to document what the libtool-* files actually do in thejlam3-3/+31
wrapper framework.
2003-08-16Add comments to the ld-post-* files that document exactly what the purposejlam2-4/+15
of these files is.
2003-08-14Initial implementation of buildlink3, based on buildlink2 and designed tojlam13-0/+1585
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.
2003-08-14End sentence with a period.jlam1-2/+2
2003-08-14Sync to HEAD, primarily for texinfo changes, and prepare for buildlink3.jlam8-208/+305
2003-08-14Move the PKG_INSTALLATION_TYPE definition from bsd.pkg.defaults.mk tojlam2-7/+7
bsd.prefs.mk. We don't want users to get the idea that this variable is something that they set in /etc/mk.conf.
2003-08-05Add a few more intermediate steps to the pkgviews integration plan. Wejlam1-42/+21
_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.