Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/misc mk/misc/can-be-built-here.mk: remove NOT_FOT_U...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b340594ce99d
branches: trunk
changeset: 429912:b340594ce99d
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Apr 26 06:56:29 2020 +0000
description:
mk/misc/can-be-built-here.mk: remove NOT_FOT_UNPRIVILEGED
It is unused, and its error message wrongly said "only for unprivileged",
which nobody complained about for 13 years.
diffstat:
mk/misc/can-be-built-here.mk | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diffs (36 lines):
diff -r 1a01ca36e18a -r b340594ce99d mk/misc/can-be-built-here.mk
--- a/mk/misc/can-be-built-here.mk Sun Apr 26 06:47:12 2020 +0000
+++ b/mk/misc/can-be-built-here.mk Sun Apr 26 06:56:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: can-be-built-here.mk,v 1.9 2018/05/16 21:23:02 rillig Exp $
+# $NetBSD: can-be-built-here.mk,v 1.10 2020/04/26 06:56:29 rillig Exp $
#
# This file checks whether a package can be built in the current pkgsrc
# environment. It checks the following variables:
@@ -7,7 +7,7 @@
# * NOT_FOR_PLATFORM, ONLY_FOR_PLATFORM
# * BROKEN_ON_PLATFORM, BROKEN_EXCEPT_ON_PLATFORM
# * NOT_FOR_BULK_PLATFORM
-# * NOT_FOR_UNPRIVILEGED, ONLY_FOR_UNPRIVILEGED
+# * NOT_FOR_UNPRIVILEGED
# * PKG_FAIL_REASON, PKG_SKIP_REASON
#
# It also depends on the following internal variables:
@@ -127,17 +127,6 @@
. endif
.endif
-# Check ONLY_FOR_UNPRIVILEGED
-_CBBH_CHECKS+= ounpriv
-_CBBH_MSGS.ounpriv= "This package is not available in unprivileged mode."
-
-_CBBH.ounpriv= yes
-.if defined(ONLY_FOR_UNPRIVILEGED) && !empty(ONLY_FOR_UNPRIVILEGED:M[Yy][Ee][Ss])
-. if empty(UNPRIVILEGED:M[Yy][Ee][Ss])
-_CBBH.ounpriv= no
-. endif
-.endif
-
# Check PKG_FAIL_REASON
_CBBH_CHECKS+= fail
_CBBH_MSGS.fail= "This package has set PKG_FAIL_REASON:" ${PKG_FAIL_REASON}
Home |
Main Index |
Thread Index |
Old Index