Commit graph

98 commits

Author SHA1 Message Date
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
grant
d13c42fa72 pull up revision 1.38 from src:
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.
2004-11-06 15:09:22 +00:00
wiz
37aaf3046b Add DragonFlyBSD recognition defaults, provided by Todd Willey on tech-pkg. 2004-10-31 22:04:26 +00:00
grant
35ca82ab5c note that you need -ma to bootstrap with xlc. 2004-10-24 11:17:45 +00:00
tv
b4926cb67d Why all the complexity? Just remove $wrkdir. (The previous incarnation left
a still-littered "work" directory; rather, this should nuke the whole thing.)
2004-10-11 13:50:17 +00:00
tv
fd931daac1 Bump BOOTSTRAP_VERSION for previous. 2004-10-08 17:29:00 +00:00
tv
1f62dde17e Revert part of rev 1.19:
There's one place where you absolutely *must* use bmake:  when building
pkg_install.  Otherwise its Makefiles will attempt to get $(MACHINE_ARCH)
from the system make, which is not likely to be correct on several
platforms.
2004-10-08 17:26:45 +00:00
grant
f7660c7325 add some info about xlc support. 2004-10-07 13:28:48 +00:00
cjep
cf4c44a023 Also need tools in /usr/xpg4/bin (such as id). PR#26924. 2004-09-20 10:43:56 +00:00
jschauma
28ca915087 Update my IRIX test systems used. 2004-09-12 17:43:37 +00:00
cjep
cb8913ac78 We also need SUNWscpu (for /usr/ucb/install). Part of PR#26924 2004-09-12 15:54:46 +00:00
jlam
568471a1f2 Catch up with textproc/nbsed needing to be configured with
--program-transform-name="s,sed,nbsed," to be installed with the correct
name.
2004-08-27 06:48:58 +00:00
tv
d62bbe049a Emphasize that UNIX Perl must not be installed, and that case-sensitive
filesystems are a must.

Add instructions on how to change these things after SFU is already
installed (so a reinstall is not necessary).
2004-08-23 20:43:13 +00:00
jlam
f79acda48d * Modify bmake to use libnbcompat to ensure that a regex implementation
exists.

* nbsed-20040821 requires libnbcompat, so make the appropriate
  adjustments to the build to use it.

* If nbsed is built during bootstrap, then use it as the sed for
  pkg_install so that the correct program is embedded into the pkg_view
  and linkfarm scripts.

* We don't need bmake to build any of the bootstrap packages, so just
  call out to the system make.
2004-08-23 03:44:34 +00:00
jlam
f76fd5562e Also capture stderr to the log. 2004-08-22 05:02:49 +00:00
jlam
b8024054a4 Auto-save output by tee-ing into BOOTSTRAP.LOG (thanks, schmonz!). 2004-08-22 04:20:01 +00:00
jlam
f36ee299b3 Add a `testbootstrap' script that calls the bootstrap script with the
correct args to build all of the bootstrap packages without needing root
privileges.
2004-08-21 06:04:35 +00:00
jschauma
35b58c9852 Use '-x' instead of '-X';
use '-none' instead of '-notall' to increase odds that this'll work under
older IRIX versions.
2004-08-15 22:20:02 +00:00
jschauma
72f96c0eab substitute --whole-archive and --no-whole-archive with the appropriate
linker flags (-all and -notall, respectively).  Pointed out by Georg
Schwarz in private mail.
2004-08-15 22:15:18 +00:00
jlam
14acff2d68 Add a script to make a source bootstrap kit. By default, the "kitdir"
is ${TMPDIR}/bootstrap-kit-<today>, the resulting archive will extract
a directory tree rooted in "bootstrap-kit-<today>".
2004-08-15 20:06:39 +00:00
jlam
3be4978451 Remove spurious ")" that was preventing bootstrapping on NetBSD 1.6.2. 2004-08-15 20:00:05 +00:00
schmonz
48037aea04 Define TMACDIR and CATDEPS appropriately (on Panther, at least) to
allow packages using <bsd.man.mk> to generate catted man pages.
Problem noticed with mail/mailwrapper, for which this fixes the
build.
2004-08-01 16:56:18 +00:00
xtraeme
fc53a90b6d I'm currently using pkgsrc under OpenBSD 3.5, so update the comment
about tested versions.
2004-07-31 04:07:03 +00:00
xtraeme
06f8590c09 Update comment about supported versions, I'm using pkgsrc under
FreeBSD -current and in the past I used it succesfully on 4.x.
2004-07-31 04:06:13 +00:00
grant
c5816067f4 allow --ignore-user-check to pass through to the bootstrap script,
too. useful for unprivileged build testing.
2004-06-28 12:09:09 +00:00
wiz
ce4a753108 PKGDBDIR -> PKG_DBDIR for consistency. From Jim Bernard in PR 26027. 2004-06-23 19:06:40 +00:00
jschauma
bb8ebe733c IRIX does not have or need ranlib, so set RANLIB to true(1).
Noted in private email by Georg Schwarz.
2004-06-05 20:53:12 +00:00
jschauma
dca008de5a only attempt to remove bmake files if 'cd bmake' was successful. 2004-05-25 02:25:21 +00:00
jschauma
4f077d1ac2 install(1) allows for installing /dev/null to create an empty file,
so let's do this here, too.  This should address PR pkg/25313.
2004-05-17 14:54:45 +00:00
schmonz
21a83360cf --pkgsrcdir is no more. 2004-05-11 02:19:48 +00:00
schmonz
7ecc421fab Retire the bootstrap script's --pkgsrcdir argument. Now that we're
part of pkgsrc, we don't need to be told where it is.
2004-05-11 02:07:19 +00:00