pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/buildlink3
Module Name: pkgsrc
Committed By: rillig
Date: Sat Jul 9 08:19:18 UTC 2022
Modified Files:
pkgsrc/mk/buildlink3: bsd.buildlink3.mk
Log Message:
mk/buildlink3: fix breakage from previous commit
The expressions for USE_BUILTIN.* and for IGNORE_PKG.* can be undefined.
The function 'empty' takes care of these, the direct expressions
generate a (misleading) error message 'Malformed conditional'.
To generate a diff of this commit:
cvs rdiff -u -r1.249 -r1.250 pkgsrc/mk/buildlink3/bsd.buildlink3.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/buildlink3/bsd.buildlink3.mk
diff -u pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.249 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.250
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.249 Sat Jul 9 07:46:02 2022
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk Sat Jul 9 08:19:18 2022
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.249 2022/07/09 07:46:02 rillig Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.250 2022/07/09 08:19:18 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -130,7 +130,7 @@ _ok_:=yes
_ok_:=yes
. else
# leaving a package (in the buildlink tree)
-. if ${USE_BUILTIN.${_pkg_:S/^-//}:M[Yy][Ee][Ss]}
+. if ${USE_BUILTIN.${_pkg_:S/^-//}:Uno:M[Yy][Ee][Ss]}
# this package is going to use the builtin version
. if ${_ok_} != yes
# not ok for it to be builtin; force it to pkgsrc
@@ -142,7 +142,7 @@ _ok_:=yes
. else
#.say "${_stack_:C/.*/ /} ${_pkg_:S/^-//} built-in"
. endif
-. elif !${IGNORE_PKG.${_pkg_:S/^-//}:M[Yy][Ee][Ss]}
+. elif !${IGNORE_PKG.${_pkg_:S/^-//}:Uno:M[Yy][Ee][Ss]}
# no builtin version or not using it
#.say "${_stack_:C/.*/ /} ${_pkg_:S/^-//} pkgsrc"
. if ${_ok_} == yes
Home |
Main Index |
Thread Index |
Old Index