pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add `uim' option, requested by Yamashiro, Jun <yamajun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2c2eb4ae2e2
branches:  trunk
changeset: 521459:d2c2eb4ae2e2
user:      hira <hira%pkgsrc.org@localhost>
date:      Sun Nov 12 15:13:56 2006 +0000

description:
Add `uim' option, requested by Yamashiro, Jun <yamajun at ofug dot net>
in PR pkg/34596.  It's disabled by default.

diffstat:

 mk/defaults/options.description |   1 +
 x11/mlterm/Makefile             |   4 +++-
 x11/mlterm/PLIST                |   3 ++-
 x11/mlterm/options.mk           |  15 +++++++++++++++
 4 files changed, 21 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r d456c837da77 -r d2c2eb4ae2e2 mk/defaults/options.description
--- a/mk/defaults/options.description   Sun Nov 12 14:28:18 2006 +0000
+++ b/mk/defaults/options.description   Sun Nov 12 15:13:56 2006 +0000
@@ -301,6 +301,7 @@
 trn-nntpclnt           Use nntpclnt as NNTP client.
 truetype       
 ucspi-ssl-perl         Enable Perl support in ucspi-ssl.
+uim                    Enable UIM support.
 unicode        
 unixodbc               Enable ODBC support via unixODBC.
 unrealircd-chroot      Enable support for running in a chroot jail.
diff -r d456c837da77 -r d2c2eb4ae2e2 x11/mlterm/Makefile
--- a/x11/mlterm/Makefile       Sun Nov 12 14:28:18 2006 +0000
+++ b/x11/mlterm/Makefile       Sun Nov 12 15:13:56 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2006/06/12 10:37:24 hira Exp $
+# $NetBSD: Makefile,v 1.46 2006/11/12 15:13:56 hira Exp $
 
 DISTNAME=      mlterm-2.9.2
 PKGREVISION=   4
@@ -32,6 +32,8 @@
 CONFIGURE_ARGS+=       --without-libintl-prefix
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE:Q}
 
+.include "options.mk"
+
 SUBST_CLASSES+=                link
 SUBST_MESSAGE.link=    Fixing hardcoded paths and link options.
 SUBST_STAGE.link=      post-patch
diff -r d456c837da77 -r d2c2eb4ae2e2 x11/mlterm/PLIST
--- a/x11/mlterm/PLIST  Sun Nov 12 14:28:18 2006 +0000
+++ b/x11/mlterm/PLIST  Sun Nov 12 15:13:56 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2006/04/17 07:07:49 jlam Exp $
+@comment $NetBSD: PLIST,v 1.17 2006/11/12 15:13:56 hira Exp $
 bin/mlcc
 bin/mlclient
 bin/mlterm
@@ -6,6 +6,7 @@
 lib/libmkf.la
 lib/mlterm/libathena.la
 lib/mlterm/libim-kbd.la
+${UIM}lib/mlterm/libim-uim.la
 lib/mlterm/libmotif.la
 lib/mlterm/libmozmodern.la
 lib/mlterm/libnext.la
diff -r d456c837da77 -r d2c2eb4ae2e2 x11/mlterm/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/options.mk     Sun Nov 12 15:13:56 2006 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2006/11/12 15:13:56 hira Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.mlterm
+PKG_SUPPORTED_OPTIONS= uim
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Muim)
+.include "../../inputmethod/uim/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-uim
+PLIST_SUBST+=          UIM=
+.else
+PLIST_SUBST+=          UIM="@comment "
+.endif



Home | Main Index | Thread Index | Old Index