From 1953d984753a72f8685053eb628a3e1fa2bf55c3 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 29 Aug 2009 02:22:32 +0000 Subject: [PATCH] Rise error with incompatible option sets. --- emacs-current/options.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs-current/options.mk b/emacs-current/options.mk index 742890f6fb..c76bbb5844 100644 --- a/emacs-current/options.mk +++ b/emacs-current/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.17 2009/08/22 05:36:22 obache Exp $ +# $NetBSD: options.mk,v 1.18 2009/08/29 02:22:32 obache Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.emacs_current @@ -11,6 +11,13 @@ PKG_SUGGESTED_OPTIONS= dbus svg x11 xft2 .include "../../mk/bsd.options.mk" +### +### Check incompatible option sets. +### +.if !empty(PKG_OPTIONS:Mnextstep) && !empty(PKG_OPTIONS:xft2) +PKG_FAIL_REASON+= `xft2' options is incompatible with `nextstep' option. +.endif + ### ### Support D-BUS ###