summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2006-12-15 16:01:16 +0000
committermartin <martin@pkgsrc.org>2006-12-15 16:01:16 +0000
commit5b340fd00f7bc33ee60be6af8a4ac77a1d0470aa (patch)
treec206c85f6b46713d514ffd814dc71793b2e2a0ef /x11/rxvt-unicode
parent2982146df9511edf0661db9e19404fae0a4cc9be (diff)
downloadpkgsrc-5b340fd00f7bc33ee60be6af8a4ac77a1d0470aa.tar.gz
Do not force useage of "rxvt" as $TERM by default, but make it an
option. Also add a hint to the runtime override. Fixes PR pkg/34605.
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r--x11/rxvt-unicode/MESSAGE10
-rw-r--r--x11/rxvt-unicode/Makefile3
-rw-r--r--x11/rxvt-unicode/options.mk25
3 files changed, 25 insertions, 13 deletions
diff --git a/x11/rxvt-unicode/MESSAGE b/x11/rxvt-unicode/MESSAGE
new file mode 100644
index 00000000000..d272af302dd
--- /dev/null
+++ b/x11/rxvt-unicode/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2006/12/15 16:01:16 martin Exp $
+
+If your system does not have a rxvt-unicode termcap entry, you may consider
+setting the X resource
+
+ URxvt.termName: rxvt
+
+or recompile this pkg with the option rxvt-term defined.
+===========================================================================
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile
index 71018539790..93b5c4a353c 100644
--- a/x11/rxvt-unicode/Makefile
+++ b/x11/rxvt-unicode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/12/15 15:01:30 martin Exp $
+# $NetBSD: Makefile,v 1.15 2006/12/15 16:01:16 martin Exp $
#
DISTNAME= rxvt-unicode-8.1
@@ -19,7 +19,6 @@ CONFIGURE_ARGS+= --enable-transparency \
--enable-menubar \
--enable-xpm-background \
--enable-xgetdefault \
- --with-term=rxvt \
--enable-24bit
post-install:
diff --git a/x11/rxvt-unicode/options.mk b/x11/rxvt-unicode/options.mk
index 98d65453261..ffb44146998 100644
--- a/x11/rxvt-unicode/options.mk
+++ b/x11/rxvt-unicode/options.mk
@@ -1,33 +1,36 @@
#
-# $Id: options.mk,v 1.1 2006/12/15 15:01:30 martin Exp $
+# $Id: options.mk,v 1.2 2006/12/15 16:01:16 martin Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.rxvt-unicode
-PKG_SUPPORTED_OPTIONS= perl unicode3 xft2
+PKG_SUPPORTED_OPTIONS= perl unicode3 xft2 rxvt-term
PKG_SUGGESTED_OPTIONS= perl unicode3 xft2
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mrxvt-term)
+CONFIGURE_ARGS+= --with-term=rxvt
+.endif
+
.if !empty(PKG_OPTIONS:Mperl)
-CONFIGURE_ARGS+= --enable-perl
-PLIST_SUBST+= PERL=
+CONFIGURE_ARGS+= --enable-perl
+PLIST_SUBST+= PERL=
.include "../../lang/perl5/buildlink3.mk"
.else
-CONFIGURE_ARGS+= --disable-perl
-PLIST_SUBST+= PERL='@comment '
+CONFIGURE_ARGS+= --disable-perl
+PLIST_SUBST+= PERL='@comment '
.endif
# use 21 instead of 16 bits to represent unicode characters
.if !empty(PKG_OPTIONS:Municode3)
-CONFIGURE_ARGS+= --enable-unicode3
+CONFIGURE_ARGS+= --enable-unicode3
.else
-CONFIGURE_ARGS+= --disable-unicode3
+CONFIGURE_ARGS+= --disable-unicode3
.endif
.if !empty(PKG_OPTIONS:Mxft2)
-CONFIGURE_ARGS+= --enable-xft
+CONFIGURE_ARGS+= --enable-xft
.include "../../fonts/Xft2/buildlink3.mk"
.else
-CONFIGURE_ARGS+= --disable-xft
+CONFIGURE_ARGS+= --disable-xft
.endif
-