NetBSD Problem Report #34596

From www@NetBSD.org  Sun Sep 24 17:42:29 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 2C14A63BB50; Sun, 24 Sep 2006 17:42:29 +0000 (UTC)
Message-Id: <20060924174229.2C14A63BB50@narn.NetBSD.org>
Date: Sun, 24 Sep 2006 17:42:29 +0000 (UTC)
From: yamajun@ofug.net
Reply-To: yamajun@ofug.net
To: gnats-bugs@NetBSD.org
Subject: add UIM support option to x11/mlterm
X-Send-Pr-Version: www-1.0

>Number:         34596
>Category:       pkg
>Synopsis:       add UIM support option to x11/mlterm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 24 17:45:02 +0000 2006
>Closed-Date:    Sun Nov 12 15:15:25 +0000 2006
>Last-Modified:  Sun Nov 12 15:20:01 +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:/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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: hira@netbsd.org
State-Changed-When: Sun, 12 Nov 2006 15:15:25 +0000
State-Changed-Why:
Patch applied.


From: Kouichirou Hiratsuka <hira@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34596 CVS commit: pkgsrc
Date: Sun, 12 Nov 2006 15:13:56 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	hira
 Date:		Sun Nov 12 15:13:56 UTC 2006

 Modified Files:
 	pkgsrc/mk/defaults: options.description
 	pkgsrc/x11/mlterm: Makefile PLIST
 Added Files:
 	pkgsrc/x11/mlterm: options.mk

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


 To generate a diff of this commit:
 cvs rdiff -r1.124 -r1.125 pkgsrc/mk/defaults/options.description
 cvs rdiff -r1.45 -r1.46 pkgsrc/x11/mlterm/Makefile
 cvs rdiff -r1.16 -r1.17 pkgsrc/x11/mlterm/PLIST
 cvs rdiff -r0 -r1.1 pkgsrc/x11/mlterm/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.