Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
the pkgsrc infrastructure. And the current infrastructure differs
enough from how it looked when the crosspkgtools was made, so a
somewhat different approach is needed.
|
|
|
|
the very slow jobs in x11 when other jobs are available for processing.
Some packages need up to 10min for pbulk-index on my build system and
the reorder reduces the overall scan time with 4 clients from 35min to
30min.
Discussed with jlam@.
|
|
|
|
out by wiz.
|
|
mk/misc/toplevel.mk. Added a bit of documentation.
|
|
INDEX and calling it directly. As the output is removed anyway, it
forced a full rescan on every "make search". Calling "make index" still
regenerates it all the time, but the other targets don't.
OK wiz@
PRs: 26442, 34207, 35266
|
|
surround the sed command in the last line by single quotes.
|
|
|
|
category Makefiles.
|
|
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
|
|
|
|
that a package support IPv6 (for the README-IPv6.html generation).
|
|
- completely redo the code which decides on the machine architecture,
operating system, and operating system version for the binary packages.
The old way just used to directory names to take a guess. The new
way creates a cache file containing meta-data for all the binary packages
in each "All" directory. This cache file is consulted when generating
the lists of available binary packages. The meta-data is obtained with
pkg_info so it should always be correct even if you do something silly
like mix OS_VERSION or MACHINE_ARCH packages up in the same directory.
Among the benefits are: works when PACKAGES is not $PKGSRC/packages,
works with a more or less arbitrary subdirectory structure, works
when there are subdirectories for multiple operating systems.
This portion of the fix should address PR25390.
The cache files are only updated when the contents of an "All" directory
changes or if the cache file format changes. There is some room for
improving the updating of the cache files, but its not too bad the way
it is.
- fix up some of the awk code so that generadme.awk works with Solaris
nawk as well as NetBSD's nawk and gawk (for pre-2.0 systems).
- remove some "if ! foo" shell constructs to increase portability.
- be more consistent with what variables get passed to mkreadme from
make and which ones are determined automatically. Mostly this meant
moving stuff into mkreadme to make it easier to run it standalone.
|
|
|
|
|
|
This causes the relevant "TOOL" variable names to be defined by
bsd.prefs.mk (through including mk/tools/defaults.mk).
|
|
meant. Approved by jlam.
|
|
as it's only used internally by bsd.prefs.mk.
* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
than the old method of stripping off the last two components of
${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined.
* Change all references to _PKGSRCDIR to PKGSRCDIR.
|
|
don't descend into this directory for anything since these packages aren't
packages in the normal sense, since they're not expected to install or
package correctly.
|
|
List all packages that depend on a particular package; needs the INDEX file
Usage: 'make show-deps PKG=openssl'
PKG: name of the package
No make dependency on INDEX by purpose, since INDEX generation
right now happens too often (too much phoniness, I guess).
|
|
|
|
|
|
|
|
|
|
available) and tell the user what to do. Addresses PR pkg/22413.
|
|
target:<space>depends, not <tab>
|
|
* rename DEPENDSDB to PKGDB
* move build of PKGDB to its own target so make(1) removes it if it
bombs.
ok'd by dmcmahill@.
|
|
several orders of magnitude and 'make index' now takes 30 minutes or so
instead of several days on my test machine. The approach now is to take
one pass through every package and extract some key information including
the explicitly listed dependencies. After the data is extracted, the
dependencies are flattened in one step which avoids the extremely
inefficient recursive make that was previously used.
|
|
|
|
|
|
to add local directories to the build hierarchy (e.g. wip, local).
|
|
|
|
new and much more efficient code. Previously a 'make readme' took over
3 weeks on my SS5 and now takes < 3 hours. The number of make calls has
been reduced from somewhere over 1,000,000 to one per package which is
around 3,000. The mk/scripts/mkreadme script does all the work now. This
script has been used in standalone form for a month or two on ftp.netbsd.org
and has had no problem.
|
|
Remove continuous blank lines.
|
|
Otherwise a bad value of _PKGSRCDIR will be used and the bulk cache creation
fails. This didn't show up before because formerly _PKGSRCDIR was previously
set in bsd.pkg.mk instead of bsd.prefs.mk as it is now.
Should fix bulk build dependency problems noted recently by Hubert.
|
|
|
|
Add the inputmethod category.
This is part of the japanese category retirement.
|
|
|
|
the cache files used during a bulk pkgsrc build.
- replace the code in the build script that used to create the cache
files with a 'make bulk-cache' call.
|
|
as IPv6-enabled. Fixes pkg/13394.
|
|
|
|
to main Makefile.
|
|
|
|
|
|
from x11 to wm; fix paths in packages that depend on the moved ones.
|
|
locations (moved to finance).
|
|
work on netbsd-1-5 at all.
|