[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xterm

File: [cvs.NetBSD.org] / pkgsrc / x11 / xterm / options.mk (download)

Revision 1.14, Thu Jul 11 11:44:07 2013 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, HEAD
Changes since 1.13: +15 -9 lines

Add option for toolbar mode.

Thomas E. Dickey says it has hard-to-fix layout issues and slows
the startup, so turn the option default off.

Bump PKGREVISION for the default change from on to off.

# $NetBSD: options.mk,v 1.14 2013/07/11 11:44:07 wiz Exp $

PKG_SUPPORTED_OPTIONS=		debug pcre freetype luit xpm xterm-toolbar
PKG_SUGGESTED_OPTIONS=		freetype luit xpm

.include "../../mk/bsd.options.mk"

.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

.if !empty(PKG_OPTIONS:Mfreetype)
CONFIGURE_ARGS+=	--enable-freetype
.  include "../../x11/libXft/buildlink3.mk"
CONFIGURE_ARGS+= --disable-freetype
### XXX The configure test checks for pcreposix_regcomp in libpcreposix.
###	However, there is no such function [insofar as I can tell].
###	Moreover, libc's regex(3) functions are weak-aliased to those
###     within libc's namespace, so we should have no problems.
.if !empty(PKG_OPTIONS:Mpcre)
CONFIGURE_ARGS+=	--with-pcre
CONFIGURE_ENV+=		ac_cv_lib_pcreposix_pcreposix_regcomp=yes
.  include "../../devel/pcre/buildlink3.mk"

.if !empty(PKG_OPTIONS:Mluit)
DEPENDS+=	luit-[0-9]*:../../x11/luit
CONFIGURE_ARGS+=	--enable-luit --enable-mini-luit
CONFIGURE_ARGS+=	--disable-luit --disable-mini-luit

.if !empty(PKG_OPTIONS:Mxpm)
### nothing
CONFIGURE_ARGS+=	--without-xpm

.if !empty(PKG_OPTIONS:Mxterm-toolbar)
CONFIGURE_ARGS+=	--enable-toolbar
CONFIGURE_ARGS+=	--disable-toolbar