diff options
author | tron <tron@pkgsrc.org> | 2007-10-28 11:29:06 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2007-10-28 11:29:06 +0000 |
commit | 22005c57965a51db4ed45b047f75dca291a72b95 (patch) | |
tree | 54807c113bc85aa37014ac9de2d7a9270772bfb1 /mk/bsd.options.mk | |
parent | 3c57ecb346584017dac262166396cda78a853d71 (diff) | |
download | pkgsrc-22005c57965a51db4ed45b047f75dca291a72b95.tar.gz |
Protect against multiple inclusion. This fixes the "sane-frontends"
package which includes "bsd.options.mk" via its own "options.mk" and
via "graphics/gimp/buildlink3.mk".
Diffstat (limited to 'mk/bsd.options.mk')
-rw-r--r-- | mk/bsd.options.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk index 1f8b88656b4..f6346b5a03b 100644 --- a/mk/bsd.options.mk +++ b/mk/bsd.options.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.options.mk,v 1.64 2007/10/13 11:04:16 dsl Exp $ +# $NetBSD: bsd.options.mk,v 1.65 2007/10/28 11:29:06 tron Exp $ # # This Makefile fragment provides boilerplate code for standard naming # conventions for handling per-package build options. @@ -86,6 +86,9 @@ # filtered to remove unsupported and duplicate options. # +.if !defined(BSD_OPTIONS_MK) +BSD_OPTIONS_MK= # defined + # To add options support to a package, here is an example for an # options.mk file. This file should be included by the package Makefile # or Makefile.common. @@ -434,3 +437,5 @@ supported-options-message: @${ECHO} "==========================================================================" . endif .endif + +.endif # BSD_OPTIONS_MK |