From 22005c57965a51db4ed45b047f75dca291a72b95 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 28 Oct 2007 11:29:06 +0000 Subject: 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". --- mk/bsd.options.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3