pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/bootstrap



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Mon Oct 29 15:16:32 UTC 2018

Modified Files:
        pkgsrc/bootstrap: bootstrap

Log Message:
Arch Linux does not provide pax anymore

https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html


To generate a diff of this commit:
cvs rdiff -u -r1.253 -r1.254 pkgsrc/bootstrap/bootstrap

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/bootstrap/bootstrap
diff -u pkgsrc/bootstrap/bootstrap:1.253 pkgsrc/bootstrap/bootstrap:1.254
--- pkgsrc/bootstrap/bootstrap:1.253    Sun Oct 28 18:41:41 2018
+++ pkgsrc/bootstrap/bootstrap  Mon Oct 29 15:16:32 2018
@@ -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@localhost>
 # 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"



Home | Main Index | Thread Index | Old Index