summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2005-11-01Remove all the local documentation here and defer to the Guide.tv1-99/+4
2005-11-01bootstrap script uses source files from pkgsrc/devel/bmake/filesreed83-37957/+9
for "bmake". Remove all of bmake source from this bootstrap. Keep bootstrap/bmake/mk -- copy to files-mk (so the bmake "boot-strap" doesn't notice the mk*). This was tested on DragonFly, NetBSD and some on Linux. Hopefully all the fixes to boostrap's bmake are included in devel/bmake/files. Note that the "mk" files is still not using devel/mk-files.
2005-10-31Do not define sysconfdir when --prefix is set. This causesreed1-5/+3
sysconfdir to be reset if --prefix is later on command line.
2005-10-19Fix for OSF1 5.1, from Sergey Svishchev in PR 31864.wiz1-2/+2
2005-10-09Added definition of PATH. This fixes a silly bug of endless recursionheinz1-1/+2
where "mkdir" is found in WRKDIR/.tools/bin after the tools are available...including mkdir itself.
2005-10-02Replace getopt with equivalent code. This unbreaks bmake on DragonFly.joerg1-16/+59
Obtained-from: src/usr.bin/make/main.c, rev 1.98
2005-08-21#include <string.h> for memcpy() on Solaris 10.grant1-1/+2
from John Heasley in PR pkg/30544.
2005-08-19Mention --varbase option.reed1-1/+3
2005-08-02Replace references of pkgsrc/mk/bsd.pkg.defaults.mk toreed1-2/+2
pkgsrc/mk/defaults/mk.conf. This is from PR 30741 from anonymous AT example.net.
2005-07-29wording tweaksgrant1-8/+7
2005-05-30Allow --varbase=something (note the '='). Pointed out by rillig@.jmmv1-1/+2
2005-05-29Simplify usage as non-root. When given the --ignore-user-check, changejmmv1-6/+30
default installation paths to be inside ~/pkg and define UNPRIVILEGED=yes in the generated mk.conf. This lets regular users to simply bootstrap by doing './bootstrap --ignore-user-check'.
2005-05-25Added a function get_optarg that avoids code duplication in the optionrillig1-5/+10
parsing code. For maximum portability it uses the expr(1) command instead of sed(1), the same way as it is done in the core of the latest GNU configure scripts.
2005-05-17Fix typo (missing leading dot).cube1-2/+2
2005-05-16Documented how .for loops split their value list (by whitespace, not byrillig1-1/+11
shell-style words).
2005-05-15Fixed shell quoting.rillig1-2/+2
2005-05-14Different operating systems have different places where they store thechristos1-1/+3
groff macro files. Since we don't have a pkgsrc groff tool dependency, we ignore the dependencies if the macro files are not there.
2005-05-14Allow the user to type --prefix=foo instead of requiring a whitespacerillig1-1/+6
between the --prefix and the directory. This makes life easier for users that often run GNU ./configure scripts manually.
2005-05-11Removed trailing whitespace. Changed some other details to make mdoclint(1)rillig1-15/+15
a little happier.
2005-05-11Corrected the part where splitting variables into words is explained. Addedrillig1-2/+19
an illustrating example.
2005-05-07Sync with v1.88 of packages(7).wiz1-41/+57
2005-05-07Refer doc/pkgsrc.txt instead of Packages.txt.wiz1-2/+2
2005-04-19Define TMACDIR and CATDEPS appropriately on Linux.minskim2-2/+205
Bump BOOTSTRAP_VERSION.
2005-04-11If need_bsd_install=yes, then also set INSTALL accordingly in the samplejschauma1-1/+2
mk.conf
2005-04-10Update README's for last change in bootsrap.jschauma3-12/+30
2005-04-10Implement changes suggested on tech-pkg some time ago:jschauma1-24/+75
(1) rework how command-line arguments are parsed: instead of --command=<arg>, use --command <arg> This allows us to not rely on certain commands for which we first need to figure out where they are to parse the arguments, which in turn allows us to (2) add the command-line option --preserve-path to prevent bootstrap from munging the PATH (as it does on some platforms) and look in places that are not currently in the PATH Finally, (3) add a check to see if we're using gcc, and set and add the PKGSRC_COMPILER=<compiler> flag to the sample mk.conf. This is particularly useful (and actually necessary) under IRIX. Bump BOOTSTRAP_VERSION.
2005-03-24Add a note to setjschauma1-1/+8
PKGSRC_COMPILER=mipspro if this compiler is used. Otherwise, wrong CFLAGS might be passed. XXX: we probably want to add a check for the proper compiler into the bootstrap process and add this line automatically, if necessary.
2005-03-08Were the overrides in mods/mk ever tested?tv1-4/+3
Fix the override logic for $opsys.bsd.{lib,man}.mk to install the files in the correct place -- this was previously all kinds of b0rken. Now it's possible to build shlibs properly on Interix using <bsd.lib.mk>, and may be possible on Darwin as well.
2005-03-04Some strip(1) commands don't strip anything but executables, so in orderjschauma1-3/+10
to strip dynamic libraries, one would have to pass "-f" to strip(1). This is done by passing "-S -f" to install, which implies "-s". Make it so.
2005-02-19set MACHINE_ARCH correctly on AIX.grant1-1/+12
2005-02-18Before copying the mk.conf.example file into PKG_SYSCONFDIR, thextraeme1-11/+14
directory must be created... do it. Also replace /usr/pkg with $prefix in a few places.
2005-02-16Note that gzip may be needed (as mentioned by T. Rightnour,reed1-1/+4
P. Schmiedeskamp, A. Wallis, and others on tech-pkg). (TODO: look at http://home.comcast.net/~rawallis/ for adding gzip to bootstrap.)
2005-02-16note that icc 8.1 needs to be built with -i-static.grant1-1/+4
2005-02-15add some info about using icc.grant1-1/+37
2005-02-15don't override the CPPFLAGS and LDFLAGS environment variables, add togrant1-6/+6
them instead.
2005-01-20DragonFly's pax(1) has different options to those in NetBSD.agc1-3/+2
Re-bootstrapping with pax fixes the situation. Fix from Todd Willey.
2005-01-18Add random image-base address hack adapted from libtool.tv1-1/+2
2005-01-18Gimme a bsd.lib.mk that actually can build shlibs on Interix.tv1-0/+471
2005-01-16ensure we can find strip(1)grant1-3/+8
2005-01-16append, not prepend, /usr/ccs/bin to the $PATH (where it exists).grant1-2/+2
Solaris is happy with it being tacked onto the end, and it unbreaks the build on HP-UX with the native compiler. from Andrey Zakharchenko.
2005-01-12Set machine_arch=mipseb on IRIX, so that binary packages don't complainjschauma1-1/+2
about a mismatch.
2005-01-12Apply fixes to set TARPROG definition properly for DragonFlyBSD fromagc1-1/+4
Todd Willey in PR 28941.
2005-01-05Add temporary Interix-only hack: don't set the MAKEFILE variable based ontv1-4/+13
what files exist in the fs. This works around a problem that crops up when using a nfs-mounted pkgsrc repository under Interix. (When going to "su" during the install phase, bmake sees "makefile" for a moment in lieu of "Makefile", and all hell breaks loose.)
2005-01-05No need to "cp -p" here.tv1-2/+2
2004-12-21use /usr/pkg/pkgdb on DragonFly by defaultgrant1-1/+5
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-1/+1
Suggested by Roland Illig, ok'd by various.
2004-11-27ditch NetBSD-specific stuff, specifically -Werror which xlc doesn'tgrant1-0/+65
support.
2004-11-26ensure MAKEFLAGS is empty when calling bmake.boot. HP-UX make(1) setsgrant1-2/+2
MAKEFLAGS incorrectly and bmake interprets this as a target. from Eric Schnoebelen in PR pkg/23683. thanks!
2004-11-20add support for Tru64, patches provided by Tobias Nygrengrant5-5/+237
<tnn at netilium dot org> with minor changes by me. tested on Tru64 5.0 and 5.1B.
2004-11-06pull up revision 1.38 from src:grant1-10/+4
Remove some code which makes file lookup rely on the fact that the first two directory entries are "." and "..". This behaviour is not required by applicable standards, and actually not provided by "coda". Now we get the "." and ".." into the per-directiry hash tables, but this should not hurt. fixes bmake build on Fedora Core 2, PR pkg/26140 from Shoichi Miyake.