Commit graph

455 commits

Author SHA1 Message Date
tnn
2be145ec3b Set need_ksh=yes for SunOS as well. Asked by joerg@ 2008-05-23 18:06:44 +00:00
tnn
499593f589 - Update bootstrap stuff to build shells/pdksh if need_ksh=yes
- set need_ksh=yes for OSF1
- rebootstrap the early bmake after having built ksh, so it's more
  likely to have a working shell for later use.
2008-05-23 17:49:52 +00:00
agc
23ee2f813b Remove the text which warns against using a case-insensitive file system
on Mac OS X - that hasn't been true for about a year.
2008-05-09 18:39:54 +00:00
agc
f3b1199e8a Remove the text which asserts that pkgsrc cannot be used on
case-insensitive file systems - it hasn't been true for about a year.
2008-05-09 18:37:54 +00:00
agc
8dd14e552e It's been possible to use case-insensitive file systems for Mac OS X for
about a year now. In celebration of this, remove the check and error message
when ensuring a case- sensitive filesystem on Mac OS X.

Keep the check for Interix.
2008-05-09 18:35:35 +00:00
minskim
6952c62e96 Set packagemaker so that the .pkg is built on Darwin.
This functionality disappeared when mkbinarykit was merged into bootstrap.
Still need to revive support for universal binary.
2008-04-30 03:14:55 +00:00
minskim
a82566f9af Make the --binary-macpkg option compatible with the other binary-kit options. 2008-04-29 22:03:19 +00:00
rtr
9c42693d00 note that if you intend to use gcc 4 on Tiger that you need to download
the xcode 2.5 development package. gcc4 that comes with xcode 2.0 builds
broken pkg_install tools.
2008-04-20 02:58:51 +00:00
jlam
84fa8ca684 + Remove pkgtools/pax and pkgtools/tnftp as they are no longer different
from archivers/pax and net/tnftp, respectively.  In the past, the
  pkgtools version of these packages installed into ${PKG_TOOLS_BIN},
  but this was changed in:

	pkgtools/pax/Makefile:1.15
	pkgtools/tnftp/Makefile:1.3

+ Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common
  by merging them into their respective Makefiles.  The Makefile.common
  files existed solely for inclusion by the pkgtools versions of these
  packages, but with the removal of those packages, these files are
  now unnecessary.

+ Add full DESTDIR support to archivers/pax and net/tnftp.

+ Modify the bootstrap to build archivers/pax and net/tnftp instead of
  the pkgtools versions of these packages.
2008-03-06 04:45:58 +00:00
tron
5acb5cbde8 Try to fix PR pkg/26143 with caution:
- Set "CC" to "gcc -isystem /usr/include" during bootstrap.
- Add "-isystem /usr/include" to the Darwin specific "CPPFLAGS".
2008-01-30 22:57:31 +00:00
joerg
e5ec1e7ace Change default pathes to more sane values:
- /var as varbase is only used for privileged builds without prefix
  or when prefix is explicitly set to /usr/pkg
- if prefix is set to a non-standard value, derive varbase from it
- derive pkgdbdir from varbase

Based on the discussion in PR 37796 and with jlam@.
2008-01-24 14:48:02 +00:00
joerg
1d688ef264 Add --binary-kit, --gzip-binary-kit and --binary-macpkg to bootstrap
and retire mkbinarkit. The options take the desired output name as
argument.
2008-01-23 21:12:41 +00:00
rillig
cb7ca2f08d Make sure that the files found by check_prog are really regular files
and nothing else. This prevents bootstrap from exiting just because
there is a subdirectory named "awk" (or another tool) in one of the PATH
directories.

Fixes PR 37806.
2008-01-20 19:55:29 +00:00
tnn
41c4b93e60 Update URL for GCC toolchain kit. 2008-01-14 21:32:29 +00:00
minskim
1f53f80860 Make mkbinarykit work on Mac OS X 10.5. 2007-11-03 17:51:08 +00:00
rillig
d2ef0e68c4 Renamed the ignoreusercheck variable to unprivileged, since it does more
than just checking whether the bootstrap is run by root. No other
visible changes.
2007-11-01 23:18:54 +00:00
rillig
30bae8ae69 Added some very basic sanity checks for the arguments to bootstrap. This
code should have been here since the very beginning of bootstrap.
Additionally, the paths are checked that they only contain characters
from the "Portable Filename Character Set" (IEEE 2003.1, definition 3.276).

Motivated by http://mail-index.netbsd.org/pkgsrc-users/2007/10/17/0000.html
2007-10-17 02:45:42 +00:00
tnn
31a9294f62 We can nowadays bootstrap using the native compiler, so note this.
g/c some obsolete text.
2007-10-15 22:32:56 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
rillig
b1ef808a1a Fixed a typo in the bootstrap program. Now it is possible to specify an
alternative fetch_cmd.

Patch provided by Pierre Bourgin in PR 37081.
2007-10-09 01:10:19 +00:00
heinz
218b20f444 Pkgsrc bootstrap installs gzip-base on AIX automatically, thus making it
unnecessary to provide it outside of pkgsrc.

This solves PR pkg/37030 by Matthew Clarke.
2007-10-02 18:29:55 +00:00
rillig
711951595a Mention --unprivileged, since pkgsrc runs (almost) great as unprivileged
user.
2007-09-29 15:50:16 +00:00
rillig
470ab0a92f Removed the warning about pkg_add or pkg_delete "not running as root"
completely. It only made the code more bloated, and a user trying to add
or delete packages would get lots of "Permission denied" warnings
anyway.
2007-09-08 09:58:14 +00:00
rillig
716ddb1f45 In unprivileged builds, the user running pkg_add and pkg_delete is
almost always an unprivileged user. So there's no point in printing a
warning in that case.
2007-09-07 15:45:14 +00:00
joerg
b3671133c5 Add QNX configuration. From Sean Boudreau. 2007-09-06 20:13:44 +00:00
joerg
181bacec05 Try to force a proper shell on Solaris by extending bmake to
expect full path names. Use the default locations in /bin unless
overriden explicitly. Bump revision of bmake.

On Solaris, use /usr/xpg4/bin/sh if it exists.
2007-09-06 19:23:25 +00:00
schwarz
7b0b779d9f do not add preset CFLAGS, CPPFLAGS or LDFLAGS to BOOTSTRAP_MKCONF since on
bootstrap time these variables are already set as shell variables. As a
result, they were doubled for bootstrap compiling.
An alternative solution to that issue would be to explicitly empty those
shell variables once they have been added to BOOTSTRAP_MKCONF, but that
approach would use more lines of shell code :-)
2007-08-18 11:01:28 +00:00
rillig
97cad8f63b Replaced the hard-coded /bin/bash with an environment variable. 2007-08-14 00:26:58 +00:00
rillig
66cc628334 s/POSIX/BSD/ for echo(1). 2007-08-13 22:48:59 +00:00
tnn
7b838717d9 Interix: Install xargs script in $wrkdir, not $prefix, for bootstrapping. 2007-08-05 16:12:15 +00:00
joerg
86c5c8668d In preparation for the libarchivification of pkg_create, pass down
--enable-bootstrap to pkg_install's configure for the first build phase.
2007-08-03 11:54:31 +00:00
joerg
501d7d17a4 Allow mkbinarykit to pass down --compiler. 2007-08-01 14:03:49 +00:00
joerg
929fd21498 Only write FETCH_CMD to mk.conf, if it is set already. 2007-07-31 14:31:27 +00:00
joerg
d9dc032976 Add --mk-fragment option to bootstrap. This allows including a fragment
after the automatic options and makes it simpler to rebuild the bootstrap
automatically from pbulk.
2007-07-29 17:09:47 +00:00
joerg
07eedea6c2 Split bootstrap into two phases:
- phase one builds the essential tools in the bare minimal version
  needed by the infrastructure to run "make install".
- phase two runs "make install" for all the bootstrap packages.

Set WRKOBJDIR for the second phase, we never want to leave garbage
around.

This increases the time for running bootstrap, but gives more
deterministic results. It also means that e.g. configuration files
in pkg_install can be handled normally. It is a prerequirement to
sanely allow pkg_install some more extended work like building
its own libarchive without having to worry too much about limitations
on some platforms.

This fixes the expansion of @gzcat@ in the download-vulnerability-list
script.

Tested by tnn@ on Interix and myself on DragonFly.
2007-07-27 10:43:24 +00:00
tnn
5649a6315a Update URLs for Documentation->docs move. 2007-07-02 19:05:29 +00:00
joerg
370e455e33 mtree is no longer needed or used by the pkgsrc infrastructure. 2007-07-02 14:59:19 +00:00
tnn
0234d40e0a xargs(1) on Interix is broken. It executes the utility on the command line
even if standard input is the empty string. Install a wrapper script
bundled with pkgtools/bootstrap-extras to deal with this. This is an
attempt at a permanent workaround for the problem described in PR pkg/25777
which has regressed since it was initially fixed.

We can now bootstrap again on Interix 3.5.
2007-07-01 23:27:43 +00:00
tnn
98dc400c93 Improve HP-UX specific documentation 2007-06-30 10:54:37 +00:00
schmonz
7235907039 We no longer need to check $pkgsrcdir for case-sensitivity.
XXX Is it time we stopped checking $prefix, too? IMO, yes.
2007-05-30 01:42:59 +00:00
schmonz
2452b41ca1 Mac OS X fixes:
* Build Universal iff a suitable SDK for the host system is present.
    From tron.
* Handle the case where where PKG_DBDIR is under PREFIX.
2007-05-27 19:55:58 +00:00
schmonz
1e8e0b5466 Entab. 2007-05-23 19:42:19 +00:00
schmonz
956c789358 Add a --universal switch to enable building Universal binaries on
Mac OS X (off by default).
2007-05-23 19:41:05 +00:00
schmonz
380b35feb5 Remove no-op variable (doubly so, it's incorrectly spelled) for AIX. 2007-05-23 13:54:15 +00:00
schmonz
7c876411d5 Find and replace %DATE% in the Mac .pkg. Oh, and build everything
as Universal binaries.
2007-05-23 05:06:03 +00:00
schmonz
1db7c81ad8 Replace hardcoded date with a token for sed to update. 2007-05-23 05:00:40 +00:00
schmonz
bef8568825 tnftp means to link with its own libedit, but on OS X the linker's
search order means that the system libedit gets found first. This
hasn't been much of a problem until now, but the system libedit
lacks support for Apple's 64-bit architectures, which breaks the
Universal build. Therefore, force linking with tnftp's internal
libedit by replacing "-ledit" in ${LIBS} with "../libedit/libedit.a".
Workaround suggested by tls.
2007-05-23 04:20:36 +00:00
schmonz
1da550d9bb On OS X, build a double-clickable Mac package. 2007-05-22 17:48:32 +00:00
schmonz
f87da5554f Add Mac OS X PackageMaker project file for bootstrap tools. Created
with /Developer/Applications/Utilities/PackageMaker.app, then
converted from blob to the equivalent XML with:

$ plutil -convert xml1 macpkg.pmproj

mkbinarykit will run this file through a bit of sed, then use the
result to generate a double-clickable Mac package.
2007-05-22 17:43:33 +00:00
tnn
cb6e83f784 hpux: machine_arch is hppa, not 9000. 2007-04-25 13:24:24 +00:00
tnn
6c1669a945 hpux support 2007-04-21 01:27:44 +00:00
tnn
6eb1d9d995 update OSF1 bootstrap documentation 2007-04-20 13:16:01 +00:00
tnn
146da1286c Teach pkgsrc about HP-UX. 2007-04-14 14:17:49 +00:00
joerg
2dfcdbab0c Change bootstrap to register bmake as package. Change bmake to
use inplace libnbcompat like the direct build from bootstrap
does. Fix a long-standing bug in mkbinarykit. The default work
directory was "work" (relative) and therefore MAKECONF=work/...
was passed down, effectively making it a nop. That resulted in
digest being incorrectly installed during the bootstrap.

Tested on DragonFly by myself and on OSF by tnn@, discussed with jlam@
2007-04-12 20:31:04 +00:00
joerg
ffe432cecd Remove absolutely useless functionality to build source kits. This is
unlikely to work with the changes in bootstrap itself anyway.
2007-04-12 18:44:54 +00:00
joerg
2a722b785e When calling bootstrap-register from the bootstrap script for the
various packages, pass down PKG_PRESERVE. Remove the default setting of
PKG_PRESERVE, it makes perfect sense to install e.g. pkgtools/mtree
and be able to remove it again, if it is not an essientiel tool.

OK jlam@
2007-04-12 14:36:40 +00:00
wiz
f93aa15197 Remove references to pkgmanpages package and packages(7). Noted by reed@. 2007-03-02 16:48:48 +00:00
rillig
860cfa817b In the bootstrap script, MAKECONF must be overridden, so that the
settings from there don't influence the bootstrap process.

Fixes PR 33188.
2007-02-22 23:29:02 +00:00
jschauma
6551e7578c don't assume that tar can compress, instead pipe to gzip 2007-01-28 01:40:49 +00:00
rillig
262f062106 Added a fix for the case when /bin/sh is a (symlink to) dash. 2007-01-26 15:48:42 +00:00
rillig
416baedaae The example mk.conf is installed automatically if there isn't already a
mk.conf. This makes using pkgsrc a bit easier.
2007-01-26 07:57:04 +00:00
tron
2a80b9c275 Bump suggested disk image size to 1GB. 2007-01-22 13:07:05 +00:00
rillig
b94b66aebd Changed the URL for downloading gcc, since the old one gives a 404. 2007-01-11 03:34:10 +00:00
tv
f91b394772 Add lang/nawk and sysutils/install-sh to the "don't blow away" package
list for bulk builds.  (Revert previous on bootstrap; the PKG_PRESERVE
hack didn't work as expected.)
2006-11-06 21:08:42 +00:00
tv
e03538189e Set PKG_PRESERVE on install-sh, nbsed, nawk if installed for the current
platform as a bootstrap tool.  These cannot be nuked as part of the bulk
build clean cycles, or else parts of the .mk infrastructure won't work.
2006-11-06 21:01:42 +00:00
rillig
d7aa920f48 Added --unprivileged as an alias for --ignore-user-check, aligning with
the wording in many other places. Also added --quiet to the usage text,
which I had forgotten before.
2006-10-13 19:09:53 +00:00
rillig
56b5590c2f Added the --quiet option.
Made the code simpler by defining a register_package function.
2006-10-02 16:26:54 +00:00
rillig
beba035f61 Typo. 2006-09-18 13:27:15 +00:00
rillig
d84e87b5c4 Fixed a bug that prevented the definition of ${ID} to be written into
the example mk.conf.

The explanation for setting DBG to the empty value is written to the
mk.conf file to inform the uninitiated pkgsrc user about its purpose.
2006-09-18 12:35:44 +00:00
schwarz
aa38134c13 ${X11BASE} can now be set to /usr, so just do so for IRIX and OSF1. No need
for any artificial symlinking any more in bootstrap.
2006-09-10 20:14:43 +00:00
schwarz
ed33e64104 gcc 3.4.6 is known to compile on IRIX 5.3 2006-09-03 14:30:26 +00:00
schwarz
bb77fff061 fix typo 2006-09-02 11:15:49 +00:00
schwarz
b396fa74ce make sure that no default optimizer flags are set via DBG if CFLAGS is
specified
2006-09-02 11:14:48 +00:00
schmonz
f3398823b2 Catch up to the Guide. 2006-08-30 04:51:05 +00:00
schmonz
3e66a7cf3d If creating a disk image on Darwin 7.0 or newer, create a case-sensitive
HFS+ rather than a UFS. The result performs better, among other things.
2006-08-30 04:36:10 +00:00
schmonz
343f2433e1 Rename "ufsdiskimage" to "darwindiskimage" in preparation for
creating case-sensitive HFS+ instead of UFS on Darwin 7.0 or newer.
2006-08-30 04:29:53 +00:00
schwarz
0b9cc38f3e * bootstrap no longer needs regex.h
* support environment variables CP, GREP, ID, MKDIR, TEST, TOUCH, XARGS to
  allow specification on non-standard tools (needed on IRIX 5)
* preserve compiler/linker flags if set
2006-08-26 15:42:27 +00:00
schwarz
0ee1ef088c * use the pkgsrc mkdir_p script on IRIX 5
* default to cc for CC with mipspro, ido, and sunpro
* make sure CFLAGS and CPPFLAGS are used when set by the user
2006-08-20 14:25:22 +00:00
schwarz
4bce3c261b added information about latest release of cureutils 2006-08-05 14:57:19 +00:00
rillig
f63a40d9e4 Added an option --compiler, which can be used to override the automatic
compiler detection. This is needed for Solaris with SunPro at least,
since bootstrap tried to install gcc>=2.95.3 during the registration of
the bootstrap packages.
2006-08-02 23:43:47 +00:00
rillig
2d74ada610 Allow the bootstrap command to be run from any directory, not just
pkgsrcdir.
2006-07-24 07:57:45 +00:00
jlam
898a0c5f98 In the post-bootstrap message, tell the user the correct manpage directory
to add to MANPATH.
2006-07-21 19:08:56 +00:00
jlam
d5b27ab1f8 Add a new option "--full" that implies all of the platform-independent
bootstrap software will be installed, regardless of platform.
2006-07-21 18:58:03 +00:00
jlam
fc3c1e56b8 Don't create the "work" symlink when building and installing software. 2006-07-21 18:46:52 +00:00
jlam
80e73a2bc7 Add back $pkg_install_args when invoking the pkg_install configure
script.  It was lost in revision 1.55.  This fixes the path to the
various pax, mtree, ftp commands used by pkg_install.  Bump the version
number of the bootstrap script.
2006-07-21 16:31:49 +00:00
jlam
a0c229751d Since bootstrap happens quite early and it's hard to get good debugging
output for bug reports, build with PKG_VERBOSE defined.
2006-07-21 15:30:30 +00:00
jlam
e4c8520953 Ensure $wrkdir is an absolute path so that $wrkobjdir is too. Avoids
creating empty "work" directories in the pkgsrc tree due to the
bootstrap script setting WRKOBJDIR=$wrkobjdir.
2006-07-21 15:16:39 +00:00
jlam
1c419eedc0 Fix a reversed test -- if the user specifies "CC" in the environment,
then he really doesn't want to always use CC=gcc.  This has no effect
if you were previously setting CC=gcc anyway.  Noted by Stuart Shelton.
2006-07-20 19:28:42 +00:00
jlam
98bd70c66b Fix location of install-sh script in the bootstrap work directory.
Problem noted by OBATA Akio on pkgsrc-users@.
2006-07-20 15:13:10 +00:00
jlam
79d62b7bc1 Explicitly set the compiler used to build nawk. The Makefile was
explicitly setting CC=cc, so override it on the bmake command line.
We use the CC taken from the environment first, and default to "gcc"
if CC is not set.
2006-07-19 15:27:37 +00:00
jlam
3c8ae20801 Ensure that "Makefile" and not "makefile" is used when building nawk.
The former contains fixes for the latter to avoid make errors.
2006-07-19 15:01:23 +00:00
jlam
90f0ef4799 * Move the "extra" scripts installed by bootstrap for certain platforms
into a separate package pkgtools/bootstrap-extras.  Teach the bootstrap
  script to look for those scripts from the bootstrap-extras package.

* When registering the installed software, set WRKOBJDIR to the bootstrap
  work directory to protect against a read-only pkgsrc tree.
2006-07-17 14:30:05 +00:00
jlam
2d7c2b7a83 Copy the *.mk files from the pkgtools/bootstrap-mk-files package for
installation.  Garbage-collect the unused bmake and mods directories.
Register the *.mk files at the end of the bootstrap process.
2006-07-14 23:19:15 +00:00
jlam
2d21291fbe Nothing uses the pkg.sh script anymore. We now rely on the real pkg_*
tools after they're installed to do package registration within pkgsrc
itself.
2006-07-14 22:18:05 +00:00
jlam
0fad60e408 Use the pkgtools/pkgmanpages package instead of keeping our own copy of
the packages.7 man/catman page.
2006-07-14 22:17:09 +00:00
jlam
4118037f3f Create a separate pkgtools/tnftp package that is installed as part of
the bootstrap process and which may be needed by pkg_install.  This
is distinct from the net/tnftp package that is now a "normal" package.

Modify the bootstrap script to use pkgtools/tnftp instead, and clean up
some of the registration code.
2006-07-14 21:41:42 +00:00
jlam
9c75370cb9 Use pkgtools/pax when registering the bootstrap pax. 2006-07-14 19:40:26 +00:00
jlam
1be6b7fd35 Catch up with modifications to bootstrap:
* pkgsrc/lang/nawk is now a bootstrap tool

    * pkgsrc/mk is needed to allow the bootstrap script to properly
      register the software installed.
2006-07-14 17:58:26 +00:00
jlam
ed6be9b70d Back out part of revision 1.60 that I didn't mean to commit. 2006-07-14 17:55:56 +00:00
jlam
9924c898b7 Register the files that installed by the bootstrap script into the
package database.

XXX There are still some files not registered, e.g. share/mk and any
XXX mkdir/install/strip/ldd replacements needed by some platforms.
XXX These will probably get moved into pkgsrc proper.
2006-07-14 17:51:13 +00:00
jlam
80fb46b42a Fix path to the bmake.1 man page in the work directory. 2006-07-14 15:58:43 +00:00
jlam
ac8e595261 Install the bmake man page now that we properly handle PKGMANDIR in
bootstrap.
2006-07-14 15:21:05 +00:00
jlam
72aafc46c3 Fix TOOLS_PLATFORM.tar definition (cut and paste bug). 2006-07-14 14:30:21 +00:00
jlam
ded5437a56 Add nawk as a bootstrap tool. Reorder the builds so that nawk and sed
are built just after bmake so that they may be used in the configure
scripts for later bootstrap tools.
2006-07-14 14:27:00 +00:00
jlam
cc40796fe9 Pass the computed mandir down to all the configure script invocations. 2006-07-13 21:37:30 +00:00
jlam
c33cc9f058 Allow the user to specify --pkgmandir to control where man pages go. 2006-07-13 21:27:06 +00:00
jlam
3fb04117ee * Set PKG_TOOLS_BIN to the location of the bootstrapped pkg_* tools
in the example mk.conf file.

* Don't install digest anymore.  It's not needed by binary package users
  and it's handled within pkgsrc/mk now via BOOTSTRAP_DEPENDS.
2006-07-13 14:54:00 +00:00
jlam
acec97ecc0 After building bmake, use it exclusively to build everything else that
needs "make".
2006-07-11 18:04:08 +00:00
jlam
6ce9c24794 Generate the proper TOOLS_PLATFORM.* lines for bootstrap binaries to
tell the tools framework which binaries to use.  Also add some whitespace
so the example mk.conf looks more like a "real" mk.conf.
2006-07-11 17:29:20 +00:00
rillig
dd7c830ba9 This file had been copied from IRIX.sys.mk, which contained a wrong
definition for CXXCPP, so fixed the definition here, too.
2006-07-11 04:18:26 +00:00
rillig
f30442209d CPP is "CC -E", not "CC" alone. This fixes Jan's bulk build on IRIX64. 2006-07-10 21:26:00 +00:00
schwarz
a6e6f7ffef corrected a few typos
changed recommendation to define C++ compiler unconditionally in mk.conf
2006-04-18 18:11:21 +00:00
schwarz
eeec12647c re-introduce a modification from 1.48 that had erroneously been removed
with the modification for 1.49.
2006-04-14 20:37:08 +00:00
joerg
f860aa0fbb Don't use the carat (^) in class matches, as it is not supported by
some shells. Use precendency order instead.

Should fix PR 33236.
2006-04-11 14:35:48 +00:00
joerg
b14c4dc764 Allow overriding of the default FETCH_CMD with --fetch-cmd
for both bootstrap and mkbinarykit. When this is done or the
platform fragment of bootstrap specifies an explicit fetch_cmd,
tnftp is not built.

Use /usr/bin/ftp by default on DragonFly 1.4 and later.
2006-04-10 18:29:24 +00:00
schwarz
89bda489cd added bootstrap support for IRIX 5.3 (finally :-)) 2006-04-10 13:29:38 +00:00
joerg
bfa6f4aed8 For DragonFly before the 1.4.0 release, default to $prefix/pkgdb to
avoid conflicts with FreeBSD ports. Later versions use pkgsrc by default,
so use the more natural /var/db/pkg location and match the install CD
thereby.
2006-04-09 13:39:52 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
reed
25ae7d3703 Make sure devel/bmake is also in tarball. (Noticed by Matt Dillon.) 2006-01-02 23:27:09 +00:00
tron
84ddbdcecb Fix "${TMACDIR}" for Darwin 8.x (MacOS X Tiger). 2005-12-21 11:47:45 +00:00
joerg
b1d7563c85 Default to MKLINT=no by default. lint might not exist on the target
and the default breaks bsd.lib.mk users on DragonFly.
2005-12-20 16:15:37 +00:00
jschauma
b48101ad3b Apply parts of a patch from Georg Schwarz to allow IRIX 6.x to bootstrap
again.
2005-12-17 17:51:40 +00:00
minskim
11d41836b7 Bump BOOTSTRAP_VERSION due to the update of archivers/pax. 2005-12-01 03:03:51 +00:00
reed
bdc986df08 Do not define LIBC and other LIB* settings. This should fix
problem with building on systems that don't have the
/usr/lib/libc.a (LIBC).

This is the log entry from mk-files 20051104:
        * prog.mk: remove all the LIBC?= junk, use
        .-include libnames.mk instead (none by default).

Note this is not an exact copy of the mk-files 20051104 prog.mk.
(Todo: compare and test all the mk files with sjg's version.)
2005-11-18 06:31:22 +00:00
joerg
e806cd23e8 sysMkPath should be ${PREFIX}/share/mk by default and only that.
Including e.g. /usr/share/mk results in sys.mk read from there
as well. On DragonFly this adds X11BASE and results in obscure
breakages. Since the mk files are supposed to be self-contained,
it doesn't make much sense to look in other directories anyway.
Bump revision to annotate this.

Discussed-with: reed@.
Reported-by: Aggelos Economopoulos <aoiko AT cc DOT ece DOT ntua DOT gr>
2005-11-16 13:53:51 +00:00
reed
6fa7d5f273 Add "--mksrc none" to the boot-strap arguments for building "bmake". 2005-11-10 00:10:35 +00:00
reed
b1cd567242 Mention documentation that is local in pkgsrc tree.
And mention about PATH, MANPATH, and mk.conf.example.
2005-11-08 17:25:30 +00:00
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
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
cjep
b3629e74c8 Remove this and the kit builds again (at least on i386 a.out,3.2 and
i386 ELF 3.5 for which I have virtual machines).
2004-05-10 14:57:46 +00:00
tv
640ffba907 Use numeric uid/gid instead of Administrator/+Administrators, as native
language non-English versions of Windows name these accounts differently.
2004-05-05 14:39:45 +00:00
tv
0e7339e53b No, setgid works, but apparently needs some particular NTFS permissions
(researching for a future rev of this doc).
2004-05-02 03:38:21 +00:00
tv
ce0d2107ef Add a note about needing to be Administrator to install setgid files. 2004-04-30 20:44:44 +00:00
tv
1a4db019ff Actually reference the pkgsrc info page as implied by the perl paragraph. 2004-04-27 14:03:24 +00:00
tv
e0da2441c3 Revise, and add note that "UNIX Perl" should not be installed from SFU. 2004-04-27 13:58:43 +00:00
danw
ab3d23ac1f Move the rest of the OS X-specific stuff out of README.Darwin into
README.MacOSX. Update the developer tools notes for 10.3. Mention that
XFree86 has X packages for older versions of OS X that Apple doesn't
provide X for.
2004-04-24 19:22:41 +00:00
danw
52c490d5f1 make sure /sbin and /usr/sbin are in $PATH. pkg/24010 2004-04-24 19:17:09 +00:00
tv
16fb5e30af Rather than work around an automake braindeadness, parameterize install-sh
so that Interix can set the default mode to 0775.  Then add "install_sh"
to CONFIGURE_ENV so it uses ${INSTALL}, not the package-supplied
install script (as is done for autoconf $INSTALL).
2004-04-23 02:03:18 +00:00
tv
29729ef6eb For Interix, use "mkdir -p" after all so that the umask can take effect. 2004-04-21 20:35:18 +00:00
tv
4c2aaec509 A usable tar(1) may have come from bootstrap. Wedge $prefix/bin into $PATH
so that it's picked up.
2004-04-21 20:34:52 +00:00
tv
8d32f69f7a umask 002, not 022. 2004-04-21 20:34:16 +00:00
heinz
6ba6314a4f Use 'mkdir-sh' instead of 'mkdir-p.sh' (similar to 'install-sh'). 2004-04-16 23:47:02 +00:00
heinz
718ce4cb08 Add script to work around stupid 'mkdir -p' on Unixware.
$ mkdir -p /tmp/foo ; echo $?
  0
  $ mkdir -p /tmp/foo ; echo $?
  2
mkdir-sh calls 'mkdir' except when the target directory already exists.
2004-04-12 14:48:58 +00:00
heinz
59c83d8b24 Add inital version of sys.mk, derived from the SunOS/Solaris version. 2004-04-12 14:44:17 +00:00
heinz
64e5629869 List all options for 'bootstrap'. 2004-04-12 00:38:55 +00:00
heinz
9b0383bdda Add support for UnixWare 2004-04-11 03:17:12 +00:00
heinz
786653cc1a Ksh on Unixware has problems with IFS in sub shells, so put the
splitting of PATH on a separate line.
Use 'uname -v' instead of 'uname -r' on Unixware. The release number of
UNIX SYSV (ie, R5) is less important to us than the version (7.x.y).
2004-04-11 03:12:17 +00:00
jschauma
4de082d1c9 IRIX' tsort doesn't take '-q' 2004-04-07 23:35:05 +00:00
jmmv
34db6d0fa4 Add support for the --sysconfdir argument, which changes the location of
configuration files.

From now on, mk.conf is first searched under the value passed to the
sysconfdir argument (which defaults to ${prefix}/etc, to match pkgsrc's
PKG_SYSCONFDIR default value).  If not found, /etc/mk.conf is tried, to
not break existing installations which have the file in that location.
This is done to help with non-root installations of pkgsrc.

Also change pkgsrc's PKG_SYSCONFBASE value to match what is given to
sysconfdir, for consistency.

While doing this, rename $opsys.own.mk files to $opsys.own.mk.in for clarity,
as they now need sed replacements to work (i.e., the SYSCONFDIR stuff).
2004-04-07 12:05:37 +00:00
cjep
afcb1149e8 Fix comment to match new location 2004-04-05 01:34:17 +00:00
grant
f0a72948d3 allow for the fact that tmac.andoc and tmac.doc were renamed in the
update to groff-1.19 in NetBSD-current 20030630.
2004-04-04 03:00:02 +00:00
grant
0a12b7b9cb no space between #! and /bin/sh. whether this actually makes any
difference on some platforms is an exercise left to the reader, but
the current pkgsrc convention is #!<program> without the space, so
this is if nothing else, a consistency fix.
2004-04-04 02:01:28 +00:00
grant
54e0e3b743 remove a redundant comment 2004-04-04 01:59:52 +00:00
jschauma
ffde52afb5 Bring support for --workdir to mkbinarykit (and cleanup)
Add a new flag to mkbinarykit that circumvents building a kit -- this
allows you to first run ./bootstrap and then just ./mkbinarykit so
you don't have to rebuild it again.

Minor cleanup (sort OPSYS)
2004-03-31 23:46:14 +00:00
tv
2f49208baa Add more caveat text. 2004-03-29 02:22:32 +00:00
tv
4e27907340 Add Interix block. 2004-03-29 02:22:18 +00:00
tv
feef01c621 Make more like the vanilla version. 2004-03-29 02:20:55 +00:00
tv
0e9ff9bdf9 Don't set -m in mkdir_p because Interix needs 0775, not 0755. Let the umask
take care of it (the mtree file will do the rest).

Use numeric gid for Interix in an unprivileged build.
2004-03-29 02:20:04 +00:00
grant
ab335a10c2 apply patch from Klaus Heinz to support bootstrapping from a read-only
pkgsrc with the --workdir argument.
2004-03-28 01:55:17 +00:00
grant
4297752f23 kill a redundant comment about missing mk files. 2004-03-27 14:46:59 +00:00
grant
5a4625cab5 MACHINE_ARCH should be derived from uname -m on OpenBSD.
from Philip Reynolds on tech-pkg.
2004-03-21 01:06:37 +00:00
grant
ccee928893 don't try to cd into work/, just remove work/dir. 2004-03-18 14:19:22 +00:00
grant
394fecb688 - relax statement about what compilers should work
- mention which bits of SunPro 8 are required, mention 64-bit pkgs
- mention SUNWlibm, SUNWlibC
- mention PKGSRC_COMPILER=sunpro
- also tested on Solaris 10
- mention crle(1)
2004-03-15 14:36:08 +00:00
grant
5f9a225ac3 SUNWlibm is no longer needed. 2004-03-15 14:21:37 +00:00
grant
491f0bc197 no need to include <math.h> (it was removed in bmake 3.1.18, too).
this removes a dependency on SUNWlibm on Solaris. noted by Marc Herbert
<Marc.Herbert@sun.com> way back in April 2003.
2004-03-15 14:20:58 +00:00
grant
c672d34752 since we now copy the sources to work/, just remove the directories in
work/ entirely.
2004-03-15 14:13:13 +00:00
tv
8a81abc87b Add notes about root user and the packages from interopsystems.com. 2004-03-12 00:16:42 +00:00
tv
b565285e6e In mkdir_p, iterate the directory names. (install-sh doesn't.) 2004-03-11 20:49:09 +00:00
tv
27795985bc Interix has the possibility of case-insensitive filesystems too. Add the
same check used for Darwin, and a doc fragment to README.Interix.
2004-03-11 20:47:56 +00:00
tv
3c6beb239f Interix needs pax too. <grumble> 2004-03-11 19:45:09 +00:00
sketch
438e0e531d Use the install-sh wrapper to create directories rather than relying on
the system mkdir(1) which may bail out too easily for non-fatal errors.

Should fix pkg/23086
2004-03-11 17:47:18 +00:00
tv
cee9b8562c Parameterize the root user, and provide an alternative implementation
of the is_root() function for Interix only.
2004-03-11 17:29:11 +00:00