pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files pkgtools/pkglint: fix check for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac65e8bba99b
branches:  trunk
changeset: 386169:ac65e8bba99b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 02 15:11:19 2022 +0000

description:
pkgtools/pkglint: fix check for package option groups

diffstat:

 pkgtools/pkglint/files/mklines.go |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 9537e7aa8965 -r ac65e8bba99b pkgtools/pkglint/files/mklines.go
--- a/pkgtools/pkglint/files/mklines.go Sun Oct 02 14:55:29 2022 +0000
+++ b/pkgtools/pkglint/files/mklines.go Sun Oct 02 15:11:19 2022 +0000
@@ -377,10 +377,10 @@
                        required := mklines.allVars.LastValue("PKG_OPTIONS_REQUIRED_GROUPS")
 
                        for _, opt := range mkline.ValueFields(optional) {
-                               supported.value += mklines.allVars.LastValue("PKG_OPTIONS_GROUP." + opt)
+                               supported.value += " " + mklines.allVars.LastValue("PKG_OPTIONS_GROUP."+opt)
                        }
                        for _, opt := range mkline.ValueFields(required) {
-                               supported.value += mklines.allVars.LastValue("PKG_OPTIONS_GROUP." + opt)
+                               supported.value += " " + mklines.allVars.LastValue("PKG_OPTIONS_GROUP."+opt)
                        }
                }
 



Home | Main Index | Thread Index | Old Index