summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2017-12-09Define machine_arch for Cygwin, this resolves an issue where MACHINE_ARCH is setsevan1-1/+2
to blank & configure substituation breaks because host type identifier is complete. -pc-cygwin, rather than x86_64-pc-cygwin.
2017-10-22Set cwrappers in bootstrap mk.conf too.bsiegert1-1/+2
When bootstrap is run with --cwrappers=no (or yes, for that matter), the value is written into mk.conf at the end of the bootstrap but not used _during_ the bootstrap itself. Thus, when bootstrapping on Linux with no builtin diffutils, cwrappers ends up indirectly depending on itself, and there is no way around that. This commit fixes this.
2017-09-23Rename OS X to macOS to follow Apple's new namingmaya1-26/+24
Eric Brown: PR pkg/52567: Readme.MacOSX is out of date Additional changes by me: don't mention that the file isn't README.OSX due to OS X being a different name, because the new name macOS makes the filename less confusing.
2017-09-23macOS 10.13 requires nbsed and nbawkmaya1-2/+2
From Eric Brown in PR pkg/52566
2017-09-21bootstrap/MacOSX: explain tools issues for 10.12gdt1-9/+9
2017-06-19Add code for finding machine_arch on OSF1maya1-1/+2
From Naruaki Etomi in PR pkg/52311
2017-04-29Allow bootstrapping without cwrapperskhorben1-6/+7
Since cwrappers was enabled by default on some platforms, it became effectively impossible to bootstrap without cwrappers there. With this change "--cwrappers" needs to be set to "auto", "yes" or "no" explicitly when used. No functional change intended without specifying "--cwrappers" (or with "auto"). Submitted on tech-pkg@ with no objection.
2017-03-06Add instructions on installing required dependencies on Debian & derivatives tosevan1-1/+8
ensure a smooth process Taken from: https://imil.net/blog/2015/07/05/using-pkgsrc-on-debian-gnulinux/
2017-02-11As macOS Sierra still ships with a broken "awk" and "sed" use thetron1-2/+2
pkgsrc variants as we do under Mac OS X El Capitan.
2017-02-09- With the move to pkgng, it is no longer required to rename binaries on currentsevan1-5/+13
release, state that instructions only apply to legacy release. - State that only the compler in base is currently support. - Update the list of tested releases.
2017-02-01Simplify and optimise previous.jperkin1-8/+6
2017-02-01For POWER8 systems running Linux, set $machine_arch to powerpc64le if machinesevan1-2/+10
hardware name is ppc64le. Automatically default to 64bit ABI for powerpc64le systems.
2017-01-22mention you can prefer pkgsrc at bootstrap, too.maya1-2/+4
pointed out by jperkin, thanks.
2017-01-22Mention in openbsd readme that it is possible to use OpenSSL from pkgsrc,maya1-1/+5
as an alternative to the somewhat controversial patch suggested in PR pkg/51486.
2017-01-10Test for existing $prefix and $pkgdbdir and bail out early if they exist,jperkin1-1/+9
rather than failing with exotic errors later.
2017-01-10Use die()jperkin1-9/+5
2017-01-09Update XQuartz URLsevan1-2/+2
2017-01-03Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo wherejperkin1-2/+2
the native lz4 is found.
2016-11-15Change the default PKG_DBDIR to be ${LOCALBASE}/pkgdb. Resolves issues onjperkin7-41/+21
other BSDs which already use /var/db/pkg for the native package manager.
2016-11-01When building cwrappers via bootstrap, either directly via --cwrappers orjperkin1-2/+16
indirectly via it being pulled in using USE_CWRAPPERS=auto, we need to ensure that it is not built with -DPKG_PRESERVE as otherwise it interacts badly with pbulk's pkg_delete test.
2016-09-20Add caution that Command Line Tools do not auto-updategdt1-1/+8
Patch from Jan Danielsson.
2016-07-15Revise ABI discussiongdt1-23/+48
Substantially revise the ABI 32/64 discussion, separating the close-in-time changes about the default ABI vs how it is encoded. Thanks to jperkin for off-list clarifications.
2016-07-14Explain switch to default ABI=64gdt1-2/+20
Explain how to recover on a machine that used to be ABI=32. by pointing to jperkin's email about this and giving an example.
2016-07-10Copy out the notes from the pkgsrc guide, Interix was the only platform whichsevan1-4/+171
had notes in the guide which were not already available in its README file.
2016-07-03Add notes about common problems & mk.conf snippet for Sun Workshop users ↵sevan1-1/+18
from the pkgsrc guide
2016-07-03Add note regarding prerequisitessevan1-1/+7
2016-07-03link to "pkgsrc on MirOS" pagesevan1-1/+4
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.
2016-01-06Fix typos.yyamano1-4/+4
2015-12-29Tell libarchive's configure explicitly what make we later want forjoerg1-2/+2
recursive invocations.
2015-12-29Document --binary-macpkg.dholland1-1/+8
XXX: there should be a man page for the bootstrap script, or something. XXX: AFAICT there is no one place its arguments are documented...
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-28Mention where the command tools can be obtained from to save time, as the ↵sevan1-1/+4
Apple developer portal search doesn't offer it as a result.
2015-11-09Default to ABI=64 on Darwin hosts which report as x86_64.jperkin1-2/+16
2015-11-08Mention the details of the packages for PowerPC Mac OS X.sevan1-3/+8
From a discussion that took place offlist around http://mail-index.netbsd.org/tech-pkg/2015/11/06/msg015926.html Reviewed by gdt@
2015-11-08Use a single style to reference OS Xsevan1-4/+4
Reviewed by gdt@
2015-11-07Update notes on versions.gdt1-8/+17
Add pointer to a pkgsrc-bulk message about a 10.4 powerpc build, and therefore drop notion that there are no 10.4 users.
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-11-07Rototiil versions sectiongdt1-49/+52
Replace and simplify the versions section. Drop notion of supported/deprecated. Explain why people run specific old versions. Assert that there are no 10.4 pkgsrc users, and very few 10.5. Keep notion that PRs for <= 10.5 without fixes can be closed without fixing. Explain Darwin vs OS X. Point to PureDarwin. Explain that pkgsrc for Darwin is really for OSX and invite doc patches. Make a few minor edits. It remains for someone to explain more clearly the issue of broken/missing SDKs in 10.11 and command line tools. As discussed on tech-pkg, with input from jperkin and tron.
2015-11-06Fix a typo and s/Mac OS X/OS X/ggdt1-13/+14
Thanks to wiz@ and Luis Muir for pointing these out.
2015-11-06Make assorted minor updatesgdt1-23/+46
- Remove information about older versions of pkgsrc. - Note that /usr/include is gone and that there are SDKs - Add hazy explanation of the missing SDK/command-line-tools issue. - Add 10.11 (but do not change deprecation status of anything). - Clarify (but do not try to update for current reality) the 10.6/10.9 bulk build descriptions.