pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkglint/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Oct  2 15:11:19 UTC 2022

Modified Files:
        pkgsrc/pkgtools/pkglint/files: mklines.go

Log Message:
pkgtools/pkglint: fix check for package option groups


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/pkgtools/pkglint/files/mklines.go

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkglint/files/mklines.go
diff -u pkgsrc/pkgtools/pkglint/files/mklines.go:1.75 pkgsrc/pkgtools/pkglint/files/mklines.go:1.76
--- pkgsrc/pkgtools/pkglint/files/mklines.go:1.75       Sun Oct  2 14:39:37 2022
+++ pkgsrc/pkgtools/pkglint/files/mklines.go    Sun Oct  2 15:11:19 2022
@@ -377,10 +377,10 @@ func (mklines *MkLines) collectPlistVars
                        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