pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/misc
Module Name: pkgsrc
Committed By: rillig
Date: Sun Apr 26 06:56:29 UTC 2020
Modified Files:
pkgsrc/mk/misc: can-be-built-here.mk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mk/misc/can-be-built-here.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/misc/can-be-built-here.mk
diff -u pkgsrc/mk/misc/can-be-built-here.mk:1.9 pkgsrc/mk/misc/can-be-built-here.mk:1.10
--- pkgsrc/mk/misc/can-be-built-here.mk:1.9 Wed May 16 21:23:02 2018
+++ pkgsrc/mk/misc/can-be-built-here.mk Sun Apr 26 06:56:29 2020
@@ -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 @@ _CBBH.nunpriv= no
. 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