NetBSD Problem Report #49504

From www@NetBSD.org  Thu Dec 25 21:32:12 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 005F9A582D
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 25 Dec 2014 21:32:11 +0000 (UTC)
Message-Id: <20141225213210.A5D4CA650D@mollari.NetBSD.org>
Date: Thu, 25 Dec 2014 21:32:10 +0000 (UTC)
From: yamajun@ofug.net
Reply-To: yamajun@ofug.net
To: gnats-bugs@NetBSD.org
Subject: inputmethod/uim: fix compile error with optional library(textproc/eb, devel/m17n-lib)
X-Send-Pr-Version: www-1.0

>Number:         49504
>Category:       pkg
>Synopsis:       inputmethod/uim: fix compile error with optional library(textproc/eb, devel/m17n-lib)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 25 21:35:00 +0000 2014
>Closed-Date:    Fri Dec 26 09:17:41 +0000 2014
>Last-Modified:  Mon Jun 19 20:52:00 +0000 2017
>Originator:     YAMASHIRO, Jun
>Release:        NetBSD/amd64 7.99.3
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun 7.99.3 NetBSD 7.99.3 (YAMAJUN) #12: Sun Dec 21 09:07:38 JST 2014  yamajun@yamajun:/usr/obj/sys/arch/amd64/compile/YAMAJUN amd64
>Description:
inputmethod/uim has several option.

* eb -- compile with textproc/eb
* m17nlib -- compile with devel/m17nlib /  and add input method for many languages.

These options caonnt compile with current packaged version.


Cause:
* eb: PKG_SYSCONFDIR change /usr/pkg/etc to /usr/pkg/etc/uim
* m17nlib: remove misc/m17n-contrib
>How-To-Repeat:
# vi /etc/mk.conf
PKG_OPTIONS.uim= eb, m17nlib

# cd /path/to/pkgsrc/inputmethod/uim
# make

===== compile with m17nlib =====

ERROR: [reduce-depends.awk] ../../misc/m17n-contrib does not exist.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/inputmethod/uim




===== compile with eb =====

checking for limits.h... yes
checking for ssize_t... (cached) yes
checking for eb.conf... /usr/pkg/etc/uim/eb.conf
configure: error: /usr/pkg/etc/uim/eb.conf not found
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/inputmethod/uim
*** Error code 1



>Fix:
Apply this patch to pkgsrc/inputmethod/uim



Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/inputmethod/uim/options.mk,v
retrieving revision 1.30
diff -u -r1.30 options.mk
--- options.mk	31 May 2014 14:22:38 -0000	1.30
+++ options.mk	25 Dec 2014 21:15:23 -0000
@@ -100,7 +100,6 @@
 .if !empty(PKG_OPTIONS:Meb)
 .include "../../textproc/eb/buildlink3.mk"
 CONFIGURE_ARGS+=	--with-eb
-CONFIGURE_ARGS+=	--with-eb-conf=${PKG_SYSCONFDIR}/eb.conf
 PLIST.eb=		yes
 .endif

@@ -182,7 +181,7 @@

 .if !empty(PKG_OPTIONS:Mm17nlib)
 .  include "../../devel/m17n-lib/buildlink3.mk"
-DEPENDS+=		m17n-contrib-[0-9]*:../../misc/m17n-contrib
+DEPENDS+=		m17n-db-[0-9]*:../../misc/m17n-db
 PLIST.m17nlib=		yes
 INSTALL_TEMPLATES+=	INSTALL.m17nlib
 DEINSTALL_TEMPLATES+=	DEINSTALL.m17nlib

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49504 CVS commit: pkgsrc/inputmethod/uim
Date: Fri, 26 Dec 2014 08:37:14 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Dec 26 08:37:14 UTC 2014

 Modified Files:
 	pkgsrc/inputmethod/uim: options.mk

 Log Message:
 m17n-contrib is merged into m17n-db-1.6.5 and later.

 fixes a part of PR pkg/49504 by YAMASHIRO Jun.


 To generate a diff of this commit:
 cvs rdiff -u -r1.30 -r1.31 pkgsrc/inputmethod/uim/options.mk

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

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49504 CVS commit: pkgsrc/inputmethod/uim
Date: Fri, 26 Dec 2014 08:43:27 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Dec 26 08:43:27 UTC 2014

 Modified Files:
 	pkgsrc/inputmethod/uim: options.mk

 Log Message:
 Prepare PKG_SYSCONFSUBDIR addtion, PKG_SYCONFIDR point to uim own one.

 Fixes a part of PR pkg/49504 by YAMASHIRO Jun.


 To generate a diff of this commit:
 cvs rdiff -u -r1.31 -r1.32 pkgsrc/inputmethod/uim/options.mk

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

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 26 Dec 2014 09:17:41 +0000
State-Changed-Why:
Fixed.  Thanks!


>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.