pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Jun  6 19:09:37 UTC 2020

Modified Files:
        pkgsrc/mk: bsd.options.mk

Log Message:
mk/bsd.options.mk: remove redundant assignment to PKG_OPTIONS

This assignment has popped up various times in the pkglint output, even
though it is defined in the infrastructure and not in a specific package.
Since there is no need to have this duplicate assignment, it is removed.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/mk/bsd.options.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/bsd.options.mk
diff -u pkgsrc/mk/bsd.options.mk:1.77 pkgsrc/mk/bsd.options.mk:1.78
--- pkgsrc/mk/bsd.options.mk:1.77       Sat Jun  6 19:02:55 2020
+++ pkgsrc/mk/bsd.options.mk    Sat Jun  6 19:09:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.77 2020/06/06 19:02:55 rillig Exp $
+# $NetBSD: bsd.options.mk,v 1.78 2020/06/06 19:09:37 rillig Exp $
 #
 # This Makefile fragment provides boilerplate code for standard naming
 # conventions for handling per-package build options.
@@ -168,10 +168,6 @@ _LISTED_VARS.options=      *S *S.*
 
 .include "bsd.prefs.mk"
 
-# Define PKG_OPTIONS, no matter if we have an error or not, to suppress
-# further make(1) warnings.
-PKG_OPTIONS=           # empty
-
 # Check for variable definitions required before including this file.
 .if !defined(PKG_OPTIONS_VAR)
 PKG_FAIL_REASON+=      "[bsd.options.mk] PKG_OPTIONS_VAR is not defined."
@@ -287,6 +283,8 @@ _OPTIONS_DEFAULT_SUPPORTED:=${_OPTIONS_D
 # process options from generic to specific
 #
 
+# Define PKG_OPTIONS, no matter if we have an error or not, to suppress
+# further make(1) warnings.
 PKG_OPTIONS:=          # empty
 _OPTIONS_UNSUPPORTED:= #empty
 .for _o_ in ${PKG_SUGGESTED_OPTIONS} ${PKG_LEGACY_OPTIONS} \



Home | Main Index | Thread Index | Old Index