diff options
author | triaxx <triaxx@pkgsrc.org> | 2018-10-29 15:16:32 +0000 |
---|---|---|
committer | triaxx <triaxx@pkgsrc.org> | 2018-10-29 15:16:32 +0000 |
commit | 9931e60e1d09edf16904c43a58eb0feb1ace4ffd (patch) | |
tree | 461248e6f2cec08846d0e35f6d2bc824c5e4d08e /bootstrap/bootstrap | |
parent | 4c823c190d5a2a09229dac39956b0349f3ce1668 (diff) | |
download | pkgsrc-9931e60e1d09edf16904c43a58eb0feb1ace4ffd.tar.gz |
Arch Linux does not provide pax anymore
https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 68d5e45765c..1af0efdd7a2 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.253 2018/10/28 18:41:41 sevan Exp $ +# $NetBSD: bootstrap,v 1.254 2018/10/29 15:16:32 triaxx Exp $ # # Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> # All rights reserved. @@ -718,6 +718,10 @@ Linux) need_awk=no need_sed=no fi + # Arch does not provide pax anymore + if [ -f /etc/arch-release ]; then + need_pax=yes + fi set_opsys=no machine_arch=`uname -m` # Override machine_arch where required. @@ -1353,6 +1357,9 @@ esac case "$need_extras" in yes) build_package "pkgtools/bootstrap-extras";; esac +case "$need_pax" in +yes) build_package "archivers/pax" +esac build_package "pkgtools/pkg_install" etc_mk_conf="$sysconfdir/mk.conf" |