pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap bootstrap: Add mktools to special preserve h...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a2bb95a7a89f
branches: trunk
changeset: 386279:a2bb95a7a89f
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Oct 04 11:47:45 2022 +0000
description:
bootstrap: Add mktools to special preserve handling.
diffstat:
bootstrap/bootstrap | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 3bf4d4745010 -r a2bb95a7a89f bootstrap/bootstrap
--- a/bootstrap/bootstrap Tue Oct 04 11:26:55 2022 +0000
+++ b/bootstrap/bootstrap Tue Oct 04 11:47:45 2022 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.316 2022/09/29 02:25:15 charlotte Exp $
+# $NetBSD: bootstrap,v 1.317 2022/10/04 11:47:45 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -1432,8 +1432,8 @@
}
#
-# cwrappers is special, we don't want to set it as a BOOTSTRAP_PKG but must
-# build it (if required) without -DPKG_PRESERVE set so that it can be deleted.
+# Special packages that we don't want marked with BOOTSTRAP_PKG, but must be
+# built (if required) without -DPKG_PRESERVE set so that they can be deleted.
#
use_cwrappers=`(cd $pkgsrcdir/devel/bmake && $bmake show-var VARNAME=_USE_CWRAPPERS)`
case "$use_cwrappers" in
@@ -1441,6 +1441,12 @@
build_package_nopreserve "pkgtools/cwrappers"
;;
esac
+use_mktools=`(cd $pkgsrcdir/devel/bmake && $bmake show-var VARNAME=_PKGSRC_USE_MKTOOLS)`
+case "$use_mktools" in
+yes)
+ build_package_nopreserve "pkgtools/mktools"
+ ;;
+esac
#
# Please make sure that the following packages and
Home |
Main Index |
Thread Index |
Old Index