pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q3]: pkgsrc/bootstrap Pullup ticket #5599 - requested by s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b90f410422af
branches:  pkgsrc-2017Q3
changeset: 408552:b90f410422af
user:      spz <spz%pkgsrc.org@localhost>
date:      Tue Oct 31 15:53:48 2017 +0000

description:
Pullup ticket #5599 - requested by sevan
bootstrap/bootstrap: build fix

Revisions pulled up:
- bootstrap/bootstrap                                           1.244

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Sun Oct 22 19:29:20 UTC 2017

   Modified Files:
           pkgsrc/bootstrap: bootstrap

   Log Message:
   Set cwrappers in bootstrap mk.conf too.

   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.


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

diffstat:

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

diffs (19 lines):

diff -r 72fcecba85d0 -r b90f410422af bootstrap/bootstrap
--- a/bootstrap/bootstrap       Tue Oct 31 14:34:23 2017 +0000
+++ b/bootstrap/bootstrap       Tue Oct 31 15:53:48 2017 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.243 2017/09/23 05:43:51 maya Exp $
+# $NetBSD: bootstrap,v 1.243.4.1 2017/10/31 15:53:48 spz Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -1090,6 +1090,7 @@
 case "$cwrappers" in
 yes|no)
        echo "USE_CWRAPPERS=            $cwrappers" >> ${TARGET_MKCONF}
+       echo "USE_CWRAPPERS=            $cwrappers" >> ${BOOTSTRAP_MKCONF}
        echo "" >> ${TARGET_MKCONF}
        ;;
 esac



Home | Main Index | Thread Index | Old Index