diff options
author | drochner <drochner@pkgsrc.org> | 2009-08-05 17:10:37 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-08-05 17:10:37 +0000 |
commit | 1381587edb0a1c6b3998eece07b7862f0fd565bc (patch) | |
tree | fb115c207064745e4096814205ea8b66ddb0ef2a /x11/xterm | |
parent | fb11867f14a3345e9d2abfe4b9dc594d852fc37f (diff) | |
download | pkgsrc-1381587edb0a1c6b3998eece07b7862f0fd565bc.tar.gz |
fix an inconsistency: "luit" support was always enabled, but without
it being present at build time it didn't work. Make it an option.
Diffstat (limited to 'x11/xterm')
-rw-r--r-- | x11/xterm/Makefile | 4 | ||||
-rw-r--r-- | x11/xterm/options.mk | 13 |
2 files changed, 11 insertions, 6 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile index 15c7811926e..de4cf043a6a 100644 --- a/x11/xterm/Makefile +++ b/x11/xterm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2009/07/22 09:01:55 wiz Exp $ +# $NetBSD: Makefile,v 1.54 2009/08/05 17:10:37 drochner Exp $ DISTNAME= xterm-243 CATEGORIES= x11 @@ -19,9 +19,7 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} CONFIGURE_ARGS+= --enable-88-color CONFIGURE_ARGS+= --enable-256-color -CONFIGURE_ARGS+= --enable-luit CONFIGURE_ARGS+= --enable-paste64 -CONFIGURE_ARGS+= --enable-mini-luit CONFIGURE_ARGS+= --enable-readline-mouse CONFIGURE_ARGS+= --enable-toolbar # Resource disabled by default diff --git a/x11/xterm/options.mk b/x11/xterm/options.mk index 18f13860371..402e97a75e1 100644 --- a/x11/xterm/options.mk +++ b/x11/xterm/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.9 2008/04/21 17:10:40 bjs Exp $ +# $NetBSD: options.mk,v 1.10 2009/08/05 17:10:37 drochner Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.xterm -PKG_SUPPORTED_OPTIONS= debug pcre freetype -PKG_SUGGESTED_OPTIONS= freetype +PKG_SUPPORTED_OPTIONS= debug pcre freetype luit +PKG_SUGGESTED_OPTIONS= freetype luit .include "../../mk/bsd.options.mk" @@ -28,3 +28,10 @@ CONFIGURE_ARGS+= --with-pcre CONFIGURE_ENV+= ac_cv_lib_pcreposix_pcreposix_regcomp=yes . include "../../devel/pcre/buildlink3.mk" .endif + +.if !empty(PKG_OPTIONS:Mluit) +DEPENDS+= luit-[0-9]*:../../x11/luit +CONFIGURE_ARGS+= --enable-luit --enable-mini-luit +.else +CONFIGURE_ARGS+= --disable-luit --disable-mini-luit +.endif |