summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-06-06 19:09:37 +0000
committerrillig <rillig@pkgsrc.org>2020-06-06 19:09:37 +0000
commit1ab100c7a7512cbc39432829dbc71520455d41c5 (patch)
tree79245f9f04bedb03c8ae8bc920f2888314fea1b2 /mk
parent67bba3398c639a12663fb8e80bbc80dde0c5e2fc (diff)
downloadpkgsrc-1ab100c7a7512cbc39432829dbc71520455d41c5.tar.gz
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.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.options.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk
index 87778942219..9254ed70d42 100644
--- a/mk/bsd.options.mk
+++ b/mk/bsd.options.mk
@@ -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_DEFAULT_SUPPORTED} ${_opt_}
# 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} \