pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Define machine_arch for Cygwin, this resolve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe44cbfb5a2d
branches:  trunk
changeset: 372477:fe44cbfb5a2d
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sat Dec 09 00:33:36 2017 +0000

description:
Define machine_arch for Cygwin, this resolves an issue where MACHINE_ARCH is set
to blank & configure substituation breaks because host type identifier is
complete.
-pc-cygwin, rather than x86_64-pc-cygwin.

diffstat:

 bootstrap/bootstrap |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 006a7c3558da -r fe44cbfb5a2d bootstrap/bootstrap
--- a/bootstrap/bootstrap       Fri Dec 08 21:24:26 2017 +0000
+++ b/bootstrap/bootstrap       Sat Dec 09 00:33:36 2017 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.244 2017/10/22 19:29:20 bsiegert Exp $
+# $NetBSD: bootstrap,v 1.245 2017/12/09 00:33:36 sevan Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -542,6 +542,7 @@
        need_awk=no
        need_sed=no
        need_xargs=no
+       machine_arch=`uname -m`
        # only used for unprivileged builds.
        whoamiprog='id -u'
        groupsprog='id -g'



Home | Main Index | Thread Index | Old Index