summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2019-02-06set $CC when clang is detected in bootstraptriaxx1-1/+3
The commit in pkgsrc-2018Q4 is due to a mistake. Sorry :(
2018-11-15Update the root_group for Minix to match the changes to mk files.sevan1-2/+2
Head up by <leot>
2018-11-11bootstrap/bootstrap: detect unknown options and print usagerillig1-2/+3
Running bootstrap with short options (like -q for --quiet) is not implemented. Therefore, instead of silently ignoring such options, fail with an appropriate error message.
2018-11-09bootstrap: Ensure CC is considered for SSP tests.jperkin1-7/+2
2018-11-05Optionally detect whether the compiler supports "-fstack-protector-strong".schmonz1-1/+30
If not, set _OPSYS_SUPPORTS_SSP=no during bootstrap and in mk.conf. Do SSP detection on "SunOS", and let mk/platform/SunOS.mk's default "yes" be overridden in mk.conf. No change to generated mk.conf on NetBSD 8 or CentOS 6. Fixes bootstrap on Tribblix.
2018-10-30Minix 3.4RC6 includes install(1) from NetBSD.sevan1-2/+2
2018-10-29Fix commit v 1.254triaxx1-4/+4
* Put indentation right to follow the existing style * Correct wrong justification for need of pax on Arch: pax (and not PaX) is only provided throw https://aur.archlinux.org/packages/pax/ and get low support (currently broken)
2018-10-29Arch Linux does not provide pax anymoretriaxx1-1/+8
https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html
2018-10-28libcompat_minix was removed some years back and minlib does not exist as asevan1-2/+1
linkable library in 3.4RC6 so don't try to link against these.
2018-10-28Minix/arm currently ships with GCC but the i386 build ships with clang so checksevan1-1/+2
the compiler.
2018-10-17bootstrap: Set PKGSRC_KEEP_BIN_PKGS=no during bootstrap.jperkin1-3/+3
This avoids errors when running from a read-only pkgsrc checkout as the resulting packages cannot be written to the default PACKAGES directory. The binary packages aren't useful anyway, as they are often built with reduced configuration options due to the limited bootstrap environment. Fixes issue reported by Julien Savard and others.
2018-09-09On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170.schmonz1-1/+3
2018-08-22Remove clauses 3,4 from TNF-only copyright blocks.maya1-8/+1
This is based on the decision The NetBSD Foundation made in 2008 to do so, which was already applied to src. This change has been applied to code which is likely not in other repositories. ok board@, reviewed by riastradh@
2018-08-12On Chrome OS, build nbsed too.bsiegert1-2/+3
Both sed and awk in the Chrome OS base are permanently put into sandbox mode, which makes them unsuitable for pkgsrc use. We were already building nbawk; also add nbsed.
2018-07-07Document cleaning up with ./cleanup.bsiegert1-1/+7
Requested in PR pkg/41803.
2018-03-07bootstrap: don't output "Hopefully" when bootstrap finishesrillig1-2/+1
The pkgsrc bootstrap has been used long enough to be more self-confident.
2018-02-03Remove a mis-pasted line. Noticed by jperkin@.bsiegert1-2/+1
2018-02-02Use pkgsrc awk on ChromeOS.bsiegert1-1/+4
Since Chrome 64, /usr/bin/awk has been a version of mawk that is permanently in restricted mode. Notably, this means it cannot run pipes, which pkgsrc requires. Use nawk.
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