summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-01-10Add locale/bs/LC_MESSAGES.mycroft12-12/+60
2003-01-09Introduce NO_PKGTOOLS_REQD_CHECK, with which a package can disableschmonz1-54/+28
warnings about out-of-date pkg_install. It's defined in pkgtools/digest, pkgtools/pkg_install, and databases/db (needed by pkg_install). Replace sequences of ${ECHO_MSG} and ${FALSE} with PKG_FAIL_REASON. Replace "make" with ${MAKE} in a few places.
2003-01-08Teach buildlink2 about ${_OPSYS_RPATH_NAME} instead of just using -Wl,-Rjlam1-11/+4
everywhere.
2003-01-07Also substitute for @BUILDLINK_X11_DIR@ in the wrapper scripts. This wasjlam1-1/+3
a harmless bug, and the scripts will now run a little faster.
2003-01-07Output warnings to stderr, not to stdout (duh!)jlam1-3/+3
2003-01-07Don't complain about (correct) .buildlink leakage in the fake libtooljlam1-3/+4
archive case. Also output errors to stderr, not stdout (duh!).
2003-01-06use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not ingrant1-1/+3
the base system.
2003-01-06Catch buildlink2 leakage as soon as it happens during the build process.jlam1-1/+6
This will hopefully prevent leakage from ever happening unnoticed.
2003-01-06Fix buildlink2 leakage into installed libtool archives that has been goingjlam1-2/+8
on since 2002-10-30. This mostly affects KDE packages.
2003-01-06Some changes for Bourne shells that don't match NetBSD's feature-set:jlam2-7/+11
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>.
2003-01-05Remove a unused hack (it was only used by pthread.buildlink.mk, which isjlam1-13/+1
now gone).
2003-01-05add a -a|--append option to allow appending to an existing database instead ofdmcmahill1-4/+36
creating a new one.
2003-01-05Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use thedmcmahill1-3/+5
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.
2003-01-05when invoking genreadme.awk, set TMPDIR correctlylukem1-2/+2
2003-01-04expr -> ${EXPR}dmcmahill2-5/+7
2003-01-04redo the README.html target for increased speed. For packages withdmcmahill1-31/+36
no dependencies the speedup is about 2x for ones like gnome with lots of dependencies, the speedup is aroud 400x. The speedup is obtained by generating the dependency list in a more efficient way that only takes 1 make call per dependency instead of potentially many many make calls.
2003-01-04move bulk/{mkreadme,genreadme.awk} to scripts/ as this is a more suitabledmcmahill3-5/+5
location. They are not really part of the bulk build stuff.
2003-01-04add two scripts used for creating dependency databases. These scriptsdmcmahill2-0/+294
can be used anytime one needs to extract the complete dependency information for a package for example, when creating a README.html file for the pkg. The approach used by mkdatabase requires exactly one make call per package which makes it scale well to packages with large dependency trees that have many paths to the leaves.
2003-01-04fix a typo in a comment.grant1-2/+2
noted by salo.
2003-01-03Require at least version 0.10 of the "x11-links" package becausetron1-2/+2
version 0.9 causes build failures in e.g. the "enlightenment" package.
2003-01-03Add the buildlink2 warnings to the wrapper log as well as outputting tojlam1-1/+3
stdout.
2003-01-02Add lib/pkgconfig directory. It is used by several packages and is currentlyjmmv7-7/+21
not properly managed by their PLISTs. This will simplify these files. Approved by wiz.
2003-01-02Correct comment on where defaults are set for DEFAULT_SERIAL_DEVICE, andwiz1-2/+12
add USE_I586 and USE_OPENLDAP (used by gnupg, perhaps others?).
2003-01-02Add a few switches to allow changing compile-time options:hubertf1-1/+21
ATERM_USE_KANJI, ATERM_USE_BIG5, ATERM_USE_XTERM_SCROLL, ATERM_USE_GREEK. Patch contributed by Jon Olsson <jon@joshua.haninge.kth.se> in PR 19382.
2003-01-01Use a while loop instead of a for loop to iterate over the arguments. Thisjlam1-2/+3
potentially allows for manipulating sequences of arguments instead of just one argument at a time.
2002-12-31Introduce a variable called kernel which is either empty or contains thecjep1-3/+7
full pathname to the kernel file (e.g. for NetBSD /netbsd, OpenBSD /bsd, etc)
2002-12-31Loopback mount /proc on SunOS. shells/tcsh successfully builds in the sandboxcjep1-2/+9
except for one peculiar thing: bmake does not pick up a definition for CC. Something is missing (for SunOS).
2002-12-31Remove deprecated USE_JAVA code from bsd.pkg.mk. Packages should usejlam1-84/+1
java-vm.mk instead (see java-vm.mk for details on proper usage).
2002-12-31Add /usr/ccs, /usr/ucb and /usr/xpg4 for SunOS in sandboxDirs.cjep1-2/+2
Provided that I copy a working gcc and the binaries from the bootstrap kit into the sandbox manually, this gets me as far as having a pkgsrc sandbox that can build pkg_tools/pkg_install.
2002-12-311. On SunOS populate /dev in the sandbox with devfsadm and ucblinks.cjep1-21/+20
2. Introduce sandboxDirs, a list of directories that need to be null mounted. This is different (e.g. on SunOS).
2002-12-31USE_JAVA2 is used to note that the package requires a Java2 implementation.jlam1-2/+9
It's undefined by default, but may be set to "yes".
2002-12-31Allow for strangely-cased USE_JAVA values.jlam1-5/+6
2002-12-311. Introduce mountflags so that we can tune the mount command for Solariscjep1-8/+13
(et al.). 2. Use the loopback filesystem on Solaris.
2002-12-31Introduce idprog so that Solaris survives the root test.cjep1-2/+7
2002-12-31If the pkg tools are not update, upgrade them.cjep1-1/+8
2002-12-29Make CONFIGURE_DIRS have meaning for programs that use imake.jlam1-2/+4
2002-12-28Fix typo.seb1-2/+2
2002-12-28Darwin 5.5 has finished the grueling recertification process: stillschmonz1-2/+2
works, but not with full caching.
2002-12-28Check whether USE_BUILDLINK2 is defined before testing its value.jlam1-3/+3
2002-12-28As a refinement on the previous commit, we shouldn't even add .../.libsjlam1-8/+15
directories to the search list for libtool archives. Also make it clear that the warning comes from the libtool wrapper.
2002-12-28Break out of loop as soon after the first time we find a libfoo.la libtooljlam1-1/+2
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>.
2002-12-28Note that USE_MMX is used by snes9x too.kristerw1-2/+2
2002-12-27More ideas: _STRIPFLAG_CC, _STRIPFLAG_INSTALL, compiler optimization flags.schmonz1-2/+3
2002-12-27Both buildlink caching methods work on Solaris 8 and Darwin 6.2.grant2-5/+6
Enable full caching for any SunOS arch and Darwin 6*.
2002-12-27* Garbage collect IGNORE -> SKIP migration.uebayasi1-8/+8
* {NOT,ONLY}_FOR_PLATHOME mismatch is not an error. Set PKG_SKIP_REASON for those cases. This makes bulk builds happier.
2002-12-26Move java.mk to java-vm.mk to avoid name conflict with devel/mk-files asjlam2-8/+8
suggested by Simon J. Gerraty.
2002-12-26Full caching still works on Irix. Yay. :)jschauma1-2/+2
2002-12-26Add some libtool workarounds for software authors that don't follow thejlam3-1/+55
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.
2002-12-26Rewrite wrapper scripts so that it is possible to add wrapper-specificjlam13-241/+343
logic and caching in a more natural way.
2002-12-26Update comment for USE_MMX to reflect changes.wiz1-2/+3