Rise error with incompatible option sets.

This commit is contained in:
OBATA Akio 2009-08-29 02:22:32 +00:00 committed by Thomas Klausner
parent c1787ca0f7
commit 1953d98475

View file

@ -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
###