Commit graph

166 commits

Author SHA1 Message Date
joerg
9a13771a76 Disable USE_DESTDIR for bootstrap. 2011-04-15 09:02:00 +00:00
agc
418419f39a Move this file to a 2-clause BSD license. 2011-04-05 05:43:19 +00:00
tron
ebb9d3bfd3 Use "-n" instead of "! -z". 2011-03-22 08:39:30 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
adam
b2bfa79acd Allow to provide CC on Darwin 2010-12-26 11:24:21 +00:00
obache
cc5fecb01d Revert r1.159, adding WRKOBJDIR to mk.conf from --workdir.
PR#44117.
2010-11-20 00:49:33 +00:00
joerg
f2d21a4c3b Bailout if the SH override is not a full path. 2010-11-13 21:43:39 +00:00
obache
02b701ffb9 Set WRKOBJDIR=${workdir}/pkgsrc to target mk.conf if --workdir is specified. 2010-08-30 06:21:49 +00:00
joerg
d8dd23b81a Don't allow a prefix or other directory ending in /. Adresses PR 43754. 2010-08-13 18:57:36 +00:00
seanb
9a61897f0a - Update QNX. 2010-03-19 14:11:11 +00:00
obache
72923363d0 Add Haiku support. 2010-02-06 10:28:54 +00:00
obache
76457bad72 remove redundant period in message, part of PR#41130. 2010-02-06 05:54:17 +00:00
obache
586ea81f3f Honor LIBS environment variable, part of PR#41130. 2010-02-06 05:51:50 +00:00
obache
f5999a6387 Sort $opsys case alphabetically.
part of PR#41130.
2010-02-06 04:30:49 +00:00
obache
2d7e9ef220 Add support of SSD/Linux.
* ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools
2010-01-16 02:16:35 +00:00
obache
807f4576b8 No need to use pkgsrc bsd_install, awk, sed and xargs for SUA 6.0 on bootstrap.
XXX: If someone confirmed SUA 5.2 also so, please adjust "3.* | 5.*)" to "3.*)".
2009-12-13 08:35:22 +00:00
dholland
24ef710dba Add /usr/bsd to $overpath for IRIX as per PR 38802. I'm going to leave
/usr/bsd/bin there for now (unless someone wants to confirm it's never
existed in *any* IRIX version) because it should ordinarily be harmless.
2009-08-01 20:19:37 +00:00
ahoka
e07420b706 Rollback my previous commit: pdksh doesnt solve the problem I wanted to. 2009-07-05 12:35:13 +00:00
ahoka
7e5a6ef277 Require ksh on HP-UX: /bin/sh dumps core during install on certain systems. 2009-06-27 22:30:50 +00:00
joerg
2dde42a844 Bail out before doing anything if PKG_PATH is set. 2009-06-15 17:02:14 +00:00
rillig
41caf0d671 Fixed the infinite recursion as suggested in PR 41446. Thanks for the
patch.
2009-05-29 15:58:37 +00:00
rillig
32ee6a524a Replaced the weird-looking and probably wrong code in mkdir_p_early with
much simpler code. This works around an endless recursion (and a
segmentation fault when using bash) when ./bootstrap is run in a
read-only directory.
2009-05-28 20:25:35 +00:00
minskim
16eae2fdc0 Fix a square bracket mismatch. 2009-04-23 00:15:53 +00:00
joerg
c802ed4e34 Provide a better mkdir -p replacement for the early build for platforms
that don't have it.
Explicitly bail out if the work directory exists already.
2009-04-21 14:21:10 +00:00
joerg
d4f61b3a35 Don't install ftp -- it is no longer a dependency of bootstrap
components, so it doesn't need the special threatment.
2009-04-06 14:21:05 +00:00
joerg
abd77ea1ca Remove LIBNBCOMPAT_STYLE for nbsed, it is not used anywhere. 2009-02-05 18:53:03 +00:00
joerg
60f2e49122 Make life easier and pull in bdb and getopt for the initial build during
the bootstrap as well. Fixes the remainining part of PR 40544.
2009-02-04 07:44:58 +00:00
joerg
c8381772dc - retire fnmatch magic
- drop tnftp and pax from bootstrap, they can be installed as normal
dependencies now that pkg_install doesn't need them.
2009-02-02 13:01:29 +00:00
sketch
2d44a8903e Add default CC, CXX and CPP to mk.conf for Sun Studio. Ideally none of
these would have to be set here and instead default in mk/compiler but
the legacy share/*.mk stuff won't allow that yet.
2009-01-21 00:07:40 +00:00
sketch
6c43cf49d5 /usr/ucb/install cannot handle a Solaris zone with a read-only /usr but
writeable /usr/pkg, so use install-sh on Solaris instead.
2008-11-19 16:35:23 +00:00
joerg
8d0d604bc5 bmake is supposed to be standalone and we don't document a requirement
of make, so build libnbcompat after bmake using bmake.
2008-10-14 22:50:54 +00:00
joerg
6e80035f26 Use /usr/xpg4/bin/id on Solaris to get user id and group id.
Reported by David H. Gutter and based on the suggestion from salo
in PR 39235.
2008-07-31 13:42:57 +00:00
dbj
079359e425 previous commit also accidentally added default fetch_cmd=/usr/bin/ftp on darwin. 2008-07-20 23:57:36 +00:00
dbj
ddd4c9aaf3 support NBPAX_PROGRAM_PREFIX variable in TOOLS_PLATFORM.{pax,tar}
leave default value unset to preserve existing behavior.
you can now set NBPAX_PROGRAM_PREFIX=nb (for example) in your mk.conf
to have the bootstrap install and use nbpax/nbtar/nbcpio which don't conflict
with system provided tools.
2008-07-20 23:54:48 +00:00
joerg
da712f263e Add a marker for bootstrap packages to allow special cases them during
bulk builds.
2008-06-19 18:36:51 +00:00
sketch
045e6bc85b Bail out if passed --abi on a platform for which we do special-case handling. 2008-06-17 12:11:59 +00:00
sketch
8bb177563e Save SUNWSPROBASE if provided. 2008-06-17 11:50:45 +00:00
sketch
7465f6ce76 Add --abi to set $ABI correctly, avoids the need for CFLAGS hacks. 2008-06-17 11:38:52 +00:00
sketch
eeaed4ba57 If $need_ksh, set TOOLS_PLATFORM.ksh too, else packages with USE_TOOLS+=ksh
overwrite the installed dependancy, breaking bulk builds.
2008-06-11 12:47:07 +00:00
tnn
d510667ede Build install-sh a bit earlier, so it's available before pdksh. 2008-05-24 13:38:33 +00:00
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
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
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