pkgsrc-Bugs archive

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

pkg/34596: add UIM support option to x11/mlterm



>Number:         34596
>Category:       pkg
>Synopsis:       add UIM support option to x11/mlterm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 24 17:45:02 +0000 2006
>Originator:     Yamashiro, Jun
>Release:        NetBSD 4.99.1
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun.mydomain 4.99.1 NetBSD 4.99.1 (YAMAJUN) #9: Sun Aug 27 16:42:01 
JST 2006 
yamajun%yamajun.mydomain@localhost:/usr/src/sys/arch/i386/compile/YAMAJUN i386


>Description:
mlterm(x11/mlterm) has option for UIM(inputmethod/uim) support
in "configure" script.  But, x11/mlterm package isn't support
"--enable-uim" option.

This patch add "UIM support" option to x11/mlterm.

>How-To-Repeat:

>Fix:
Apply this patch:

diff -Nru mlterm.orig/Makefile mlterm/Makefile
--- mlterm.orig/Makefile        2006-06-14 03:37:42.000000000 +0900
+++ mlterm/Makefile     2006-09-24 20:51:52.000000000 +0900
@@ -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 -Nru mlterm.orig/PLIST mlterm/PLIST
--- mlterm.orig/PLIST   2006-04-21 10:52:46.000000000 +0900
+++ mlterm/PLIST        2006-09-24 20:53:10.000000000 +0900
@@ -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 -Nru mlterm.orig/options.mk mlterm/options.mk
--- mlterm.orig/options.mk      1970-01-01 09:00:00.000000000 +0900
+++ mlterm/options.mk   2006-09-24 20:58:20.000000000 +0900
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+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