summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-10-10 16:29:35 +0000
committerwiz <wiz@pkgsrc.org>2012-10-10 16:29:35 +0000
commitf25f96e3ef15da5593ffda951f7e23f1937aa9be (patch)
treec8fbaa7c12e5a64483d0947d404f1cf06418f018 /x11
parent62f101ff5221b43a72d71e94f1c45fd6f8cba9f3 (diff)
downloadpkgsrc-f25f96e3ef15da5593ffda951f7e23f1937aa9be.tar.gz
Add a default-on xpm option that allows turning off the pixmap for xterm
when iconfied. Requested by Chuck 'grumpy old man' Silvers.
Diffstat (limited to 'x11')
-rw-r--r--x11/xterm/options.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/xterm/options.mk b/x11/xterm/options.mk
index 545259e9601..e74a36450b2 100644
--- a/x11/xterm/options.mk
+++ b/x11/xterm/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.12 2012/06/15 23:06:08 dholland Exp $
+# $NetBSD: options.mk,v 1.13 2012/10/10 16:29:35 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xterm
-PKG_SUPPORTED_OPTIONS= debug pcre freetype luit
-PKG_SUGGESTED_OPTIONS= freetype luit
+PKG_SUPPORTED_OPTIONS= debug pcre freetype luit xpm
+PKG_SUGGESTED_OPTIONS= freetype luit xpm
.include "../../mk/bsd.options.mk"
@@ -37,3 +37,9 @@ CONFIGURE_ARGS+= --enable-luit --enable-mini-luit
.else
CONFIGURE_ARGS+= --disable-luit --disable-mini-luit
.endif
+
+.if !empty(PKG_OPTIONS:Mxpm)
+### nothing
+.else
+CONFIGURE_ARGS+= --without-xpm
+.endif