Commit graph

128 commits

Author SHA1 Message Date
reed
9dc3ac78a5 Remove the NetBSD specific Makefile.in for bmake. It was not used anyways
since yesterday's update (since it overwrites it).
2005-11-02 00:34:23 +00:00
tv
cb7746b286 Remove all the local documentation here and defer to the Guide. 2005-11-01 14:26:51 +00:00
reed
868a3892a6 bootstrap script uses source files from pkgsrc/devel/bmake/files
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-11-01 01:06:02 +00:00
reed
cec0180295 Do not define sysconfdir when --prefix is set. This causes
sysconfdir to be reset if --prefix is later on command line.
2005-10-31 23:05:24 +00:00
wiz
007e2deceb Fix for OSF1 5.1, from Sergey Svishchev in PR 31864. 2005-10-19 00:33:12 +00:00
heinz
c0e7856048 Added definition of PATH. This fixes a silly bug of endless recursion
where "mkdir" is found in WRKDIR/.tools/bin after the tools are
available...including mkdir itself.
2005-10-09 20:12:29 +00:00
joerg
3cb54ed23e Replace getopt with equivalent code. This unbreaks bmake on DragonFly.
Obtained-from: src/usr.bin/make/main.c, rev 1.98
2005-10-02 11:43:34 +00:00
grant
38130a4ab9 #include <string.h> for memcpy() on Solaris 10.
from John Heasley in PR pkg/30544.
2005-08-21 12:35:00 +00:00
reed
b368fa3ab5 Mention --varbase option. 2005-08-19 16:12:14 +00:00
reed
0ba4386344 Replace references of pkgsrc/mk/bsd.pkg.defaults.mk to
pkgsrc/mk/defaults/mk.conf.

This is from PR 30741 from anonymous AT example.net.
2005-08-02 00:23:31 +00:00
grant
da261bf794 wording tweaks 2005-07-29 00:56:24 +00:00
jmmv
1eda67b394 Allow --varbase=something (note the '='). Pointed out by rillig@. 2005-05-30 19:03:29 +00:00
jmmv
041d5ecfe0 Simplify usage as non-root. When given the --ignore-user-check, change
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-29 17:15:25 +00:00
rillig
8aedb70177 Added a function get_optarg that avoids code duplication in the option
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-25 07:06:54 +00:00
cube
62758d1291 Fix typo (missing leading dot). 2005-05-17 09:16:46 +00:00
rillig
c38978cf6b Documented how .for loops split their value list (by whitespace, not by
shell-style words).
2005-05-16 09:18:27 +00:00
rillig
21cd54a072 Fixed shell quoting. 2005-05-15 10:55:06 +00:00
christos
e2c98c8fea Different operating systems have different places where they store the
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-14 19:16:16 +00:00
rillig
2f39dcaf4a Allow the user to type --prefix=foo instead of requiring a whitespace
between the --prefix and the directory. This makes life easier for users
that often run GNU ./configure scripts manually.
2005-05-14 02:12:48 +00:00
rillig
62805e87ad Removed trailing whitespace. Changed some other details to make mdoclint(1)
a little happier.
2005-05-11 14:39:32 +00:00
rillig
d9ff95c62a Corrected the part where splitting variables into words is explained. Added
an illustrating example.
2005-05-11 14:31:10 +00:00
wiz
85c1935403 Sync with v1.88 of packages(7). 2005-05-07 22:20:40 +00:00
wiz
af43f6cfdc Refer doc/pkgsrc.txt instead of Packages.txt. 2005-05-07 22:16:38 +00:00
minskim
9e761f6663 Define TMACDIR and CATDEPS appropriately on Linux.
Bump BOOTSTRAP_VERSION.
2005-04-19 18:24:17 +00:00
jschauma
ccfb405e99 If need_bsd_install=yes, then also set INSTALL accordingly in the sample
mk.conf
2005-04-11 21:03:21 +00:00
jschauma
ddf2f4ec74 Update README's for last change in bootsrap. 2005-04-10 22:03:35 +00:00
jschauma
f8a308ad6a Implement changes suggested on tech-pkg some time ago:
(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-04-10 21:54:13 +00:00
jschauma
e9ee373a6a Add a note to set
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-24 19:36:30 +00:00
tv
f7bdf70504 Were the overrides in mods/mk ever tested?
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-08 15:43:10 +00:00
jschauma
5cad4922d8 Some strip(1) commands don't strip anything but executables, so in order
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-03-04 03:11:50 +00:00
grant
ec39a6ec98 set MACHINE_ARCH correctly on AIX. 2005-02-19 04:07:31 +00:00
xtraeme
c2eeaef993 Before copying the mk.conf.example file into PKG_SYSCONFDIR, the
directory must be created... do it.

Also replace /usr/pkg with $prefix in a few places.
2005-02-18 00:26:07 +00:00
reed
ded2f3d98a Note that gzip may be needed (as mentioned by T. Rightnour,
P. Schmiedeskamp, A. Wallis, and others on tech-pkg).

(TODO: look at http://home.comcast.net/~rawallis/ for adding
gzip to bootstrap.)
2005-02-16 21:38:41 +00:00
grant
1e95d534a4 note that icc 8.1 needs to be built with -i-static. 2005-02-16 11:02:50 +00:00
grant
7dad5560e4 add some info about using icc. 2005-02-15 09:39:06 +00:00
grant
986adbbaca don't override the CPPFLAGS and LDFLAGS environment variables, add to
them instead.
2005-02-15 08:48:34 +00:00
agc
ffe1509afb DragonFly's pax(1) has different options to those in NetBSD.
Re-bootstrapping with pax fixes the situation.

Fix from Todd Willey.
2005-01-20 22:36:06 +00:00
tv
1369b5ddfb Add random image-base address hack adapted from libtool. 2005-01-18 19:36:25 +00:00
tv
c07a7385b0 Gimme a bsd.lib.mk that actually can build shlibs on Interix. 2005-01-18 17:49:26 +00:00
grant
69554a41b9 ensure we can find strip(1) 2005-01-16 03:02:02 +00:00
grant
20b97d46a1 append, not prepend, /usr/ccs/bin to the $PATH (where it exists).
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-16 02:56:24 +00:00
jschauma
8fe60ea175 Set machine_arch=mipseb on IRIX, so that binary packages don't complain
about a mismatch.
2005-01-12 16:42:13 +00:00
agc
aaab8e1464 Apply fixes to set TARPROG definition properly for DragonFlyBSD from
Todd Willey in PR 28941.
2005-01-12 11:30:37 +00:00
tv
ab5739886f Add temporary Interix-only hack: don't set the MAKEFILE variable based on
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-05 21:54:40 +00:00
tv
16a4e83435 No need to "cp -p" here. 2005-01-05 21:51:19 +00:00
grant
f8d56aeb25 use /usr/pkg/pkgdb on DragonFly by default 2004-12-21 14:12:50 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
grant
b89c7fd5ee ditch NetBSD-specific stuff, specifically -Werror which xlc doesn't
support.
2004-11-27 14:42:28 +00:00
grant
fd53d5bb32 ensure MAKEFLAGS is empty when calling bmake.boot. HP-UX make(1) sets
MAKEFLAGS incorrectly and bmake interprets this as a target.

from Eric Schnoebelen in PR pkg/23683. thanks!
2004-11-26 12:08:44 +00:00
grant
77e4975de4 add support for Tru64, patches provided by Tobias Nygren
<tnn at netilium dot org> with minor changes by me.

tested on Tru64 5.0 and 5.1B.
2004-11-20 04:31:35 +00:00