summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2016-06-22Disable maintainer mode for the right tool.joerg1-5/+6
2016-06-22Disable maintainer mode here as well.joerg1-2/+3
2016-04-10No need to set USE_DESTDIR now.joerg1-2/+2
2016-02-08Fix --quiet. The output is far from quiet, but at least it now works.jperkin1-9/+9
2016-02-04Fix PowerPC 32-bit case.jperkin1-2/+2
2016-01-24Attempt to bring sanity to how ABI and MACHINE_ARCH are set.jperkin1-55/+52
Previously there were at least 5 different ways MACHINE_ARCH could be set, some statically and some at run time, and in many cases these settings differed, leading to issues at pkg_add time where there was conflict between the setting encoded into the package and that used by pkg_install. Instead, move to a single source of truth where the correct value based on the host and the chosen (or default) ABI is determined in the bootstrap script. The value can still be overridden in mk.conf if necessary, e.g. for cross-compiling. ABI is now set by default and if unset a default is calculated based on MACHINE_ARCH. This fixes some OS, e.g. Linux, where the wrong default was previously chosen. As a result of the refactoring there is no need for LOWER_ARCH, with references to it replaced by MACHINE_ARCH. SPARC_TARGET_ARCH is also removed.
2016-01-06Ensure we set MACHINE_ARCH correctly for Darwin x86_64. Fixes recentjperkin1-1/+4
bootstrap issues.
2015-12-29Tell libarchive's configure explicitly what make we later want forjoerg1-2/+2
recursive invocations.
2015-12-27Include basic package creation logic in the bootstrap version ofjoerg1-5/+16
pkg_install. Use this with PKG_COMPRESSION=none to convert all of the bootstrap to USE_DESTDIR=yes.
2015-12-18Build nbawk and nbsed on Darwin 10.11 (El Capitan) too, it still has the sedjperkin1-2/+2
which fails when using a UTF-8 locale. Ok'd during the freeze by wiz@
2015-12-11Match MACHINE_ARCH override used in bsd.prefs.mk on FreeBSD andjoerg1-1/+9
DragonFly.
2015-11-09Default to ABI=64 on Darwin hosts which report as x86_64.jperkin1-2/+16
2015-11-07For Bitrigsevan1-2/+6
Switch to using arch(1) to detect the architecture of host Set $machine_arch to x86_64 if on amd64 Pass $machine_arch to the devel/bmake build process Reviewed by wiz@
2015-11-07Use arch(1) to detect the architecture of hostsevan1-2/+6
Switch $machine_arch to x86_64 if on OpenBSD/amd64 Pass $machine_arch to the devel/bmake build process Reviewed by wiz@
2015-06-13If "/usr/bin/bash" is installed under Solaris always prefer it over thetron1-2/+2
"pdksh" package. Using the package is too problematic, see PR pkg/39524.
2015-06-04Introduce preliminary support for Bitrig to pkgsrcsevan1-1/+10
Initial patchset to add support by rodent@ Further adjustments made based on feedback by joerg@ Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig Reviewed by bsiegert@ joerg@ wiz@
2015-05-03Use pdksh when bootstrapping on AIX, while it's possible to bootstrapsevan1-1/+2
successfully using the stock /bin/sh supplied with the system, things don't work correctly. Reviewed by wiz@
2014-12-04Don't build the cwrappers package during bootstrap, it is pulled injperkin1-4/+1
as a build dependency as needed.
2014-12-01Add a "--cwrappers" option to build and enable cwrappers.jperkin1-4/+17
2014-09-01Add support for --make-jobs, which passes down -j or MAKE_JOBS asjperkin1-7/+16
appropriate. The default continues to be 1.
2014-08-14Fix packages creation on Interix.cheusov1-3/+3
User/group names are used instead of uid/gid. Problem with spaces inside user/group name should be fixed by Cygwin support added some time ago.
2014-08-01Need nbsed on Yosemite (not sure about awk, but little harm).schmonz1-2/+2
2014-07-30Detecting clang on OS X is stymied in some configurations by "gcc"schmonz1-3/+5
looking sufficiently like gcc. Inspect "cc" instead, and don't believe it's __GNUC__ unless it's also not __clang__. While here, if you manage to find and install PackageMaker.app, it still works on 10.9 for --binary-macpkg. From Sevan Janiyan.
2014-07-11Use check_compiler=yes on Darwin, fixes bootstrap with newer XCode thatjperkin1-1/+2
includes gcc which is actually clang.
2014-04-17Amend previous: pick built bmake binary from correct directory.asau1-2/+2
2014-04-17Follow the conventional path of "configure-make-install"asau1-3/+3
when bootstrapping bmake.
2014-04-17The only use of "bmakexenv" variable is on IRIX to pass MAKE=pmakeasau1-4/+2
to devel/bmake when bootstrapping the latter. bmake doesn't take this environment variable into consideration anyway.
2014-04-03Set CLANGBASE=/usr automatically if CLANGBASE is not set and /usr/bin/clang ↵obache1-1/+4
exists. It is expected in mk/compiler/clang.mk that CLANGBASE is set properly even if builtin clang is selected.
2014-03-14Add Xinuos SCO OpenServer 5.0.7/3.2 supportryoon1-1/+12
The license donation for OpenServer 5.0.7/3.2 by Xinuos Inc. helped to make this commit possible.
2014-03-10Detect Clang and apply proper compiler settings.asau1-2/+15
This fixes bootstrapping on FreeBSD 10 where cc is Clang pretending poorly to be GCC.
2014-03-07Add bootstrap support for multiarch support on Linux. For now onlyjperkin1-1/+11
building 32-bit packages on x86_64 is supported.
2014-02-10Fix usage of build_packageryoon1-3/+3
2013-10-03Mark the copy of bmake's configure as executable in case the checkout isjoerg1-1/+2
missing the bit.
2013-09-08Add FreeMiNT settings.ryoon1-1/+9
2013-08-28Add a new use_bsdinstall variable which, if set to 'yes', will use bsdinstalljperkin1-3/+15
instead of install-sh on platforms which need a BSD install. The install-sh script is still used during the bootstrap process regardless. Default to 'yes' on SunOS. Other platforms can migrate over once they confirm that sysutils/bsdinstall builds correctly.
2013-08-09Add --pkginfodir support. Fixes --prefix=/usr defaults.jperkin1-5/+14
2013-08-04overwrite config.{guess,sub} automatically after copied from in-place sourceobache1-1/+7
tree in bootstrap.
2013-07-26Add (Debian) GNU/kFreeBSD port.ryoon1-2/+20
Similar to GNU/Linux. Bump bootstrap-mk-files to 20130727.
2013-06-14Don't use the bundled "awk" and "sed" under Mac OX Mountain Lion and newer.tron1-1/+7
They break badly on files with binary characters. This fixes e.g. the build of the "youtube-dl" package.
2013-06-01Under Mac OS X (Mountain) Lion "packagemaker" is part of thetron1-1/+4
"PackageMaker" application which resides in "/Applications".
2013-05-11On Debian/Ubuntu Linux, system's awk is mawk, and mawk does notryoon1-2/+8
understand some regexp like [[:space:]]. ELF shared lib check is not working properly with mawk.
2013-03-11bootstrap: Minix support. OK by agc. PR pkg/45041tcort1-1/+10
2013-02-22Fix ROOT_USER/ROOT_GROUP for Cygwin to Administrators/Administrators (not usingobache1-3/+3
its UID/GID), and sync platform privilege check with bootstrap script.
2013-02-20Use Administrators for ROOT_GROUP of Cygwin instead of Administrator.obache1-2/+2
2013-02-20Fixes reverse condition of is_root() for Cygwin.obache1-3/+3
2013-02-20fix a typoobache1-2/+2
2013-02-20Set proper variables for the case of --compiler=clang.obache1-1/+9
2013-02-09Rename objdir for bootstrap bmake, to avoid conflict with systemobache1-3/+3
cygwin/config.h heaer on Cygwin with case-insensitive filesystem.
2013-02-09tell Cygiwn to bootstrap.obache1-1/+20
2013-01-31Use /usr/bin/bash on all SunOS 5.11 variants if it exists. Fall back tohans1-12/+4
shells/pdksh in all other cases, native /bin/ksh is not good enough.