summaryrefslogtreecommitdiff
path: root/x11/xterm/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xterm/options.mk')
-rw-r--r--x11/xterm/options.mk33
1 files changed, 10 insertions, 23 deletions
diff --git a/x11/xterm/options.mk b/x11/xterm/options.mk
index 7ebc3958bda..18f13860371 100644
--- a/x11/xterm/options.mk
+++ b/x11/xterm/options.mk
@@ -1,35 +1,22 @@
-# $NetBSD: options.mk,v 1.8 2008/01/25 18:22:01 bjs Exp $
+# $NetBSD: options.mk,v 1.9 2008/04/21 17:10:40 bjs Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.xterm
-PKG_SUPPORTED_OPTIONS= pcre xterm-luit freetype xterm-toolbar
-PKG_OPTIONS_OPTIONAL_GROUPS= color
-PKG_OPTIONS_GROUP.color= xterm-88color xterm-256color
-PKG_SUGGESTED_OPTIONS= xterm-256color xterm-luit xterm-toolbar
+PKG_OPTIONS_VAR= PKG_OPTIONS.xterm
+PKG_SUPPORTED_OPTIONS= debug pcre freetype
+PKG_SUGGESTED_OPTIONS= freetype
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mxterm-88color)
-CONFIGURE_ARGS+= --enable-88-color
-.endif
-
-.if !empty(PKG_OPTIONS:Mxterm-256color)
-CONFIGURE_ARGS+= --enable-256-color
-.endif
-
-.if !empty(PKG_OPTIONS:Mxterm-luit)
-CONFIGURE_ARGS+= --enable-luit
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-trace
+CONFIGURE_ARGS+= --enable-warnings
+.elif defined(PKG_DEVELOPER) && !empty(PKG_DEVELOPER:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-warnings
.endif
.if !empty(PKG_OPTIONS:Mfreetype)
CONFIGURE_ARGS+= --enable-freetype
-
-.include "../../x11/libXft/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mxterm-toolbar)
-CONFIGURE_ARGS+= --enable-toolbar
+. include "../../x11/libXft/buildlink3.mk"
.endif
-
###
### XXX The configure test checks for pcreposix_regcomp in libpcreposix.
### However, there is no such function [insofar as I can tell].