From sa2c@sa2c.net  Fri Feb 20 13:29:17 2004
Return-Path: <sa2c@sa2c.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 362F916A4CE; Fri, 20 Feb 2004 13:29:17 -0800 (PST)
Received: from sa2c.net (t126108.ap.plala.or.jp [220.220.126.108])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id E84AD43D1D; Fri, 20 Feb 2004 13:29:16 -0800 (PST)
	(envelope-from sa2c@sa2c.net)
Received: by berkeley.l.sa2c.net (Postfix, from userid 3104)
	id 5057815225; Sat, 21 Feb 2004 06:29:08 +0900 (JST)
Message-Id: <20040220212908.5057815225@berkeley.l.sa2c.net>
Date: Sat, 21 Feb 2004 06:29:08 +0900 (JST)
From: NIIMI Satoshi <sa2c@sa2c.net>
Reply-To: NIIMI Satoshi <sa2c@sa2c.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: nobutaka@FreeBSD.org
Subject: japanese/anthy: change request for location of .el files 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63150
>Category:       ports
>Synopsis:       japanese/anthy: change request for location of .el files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nobutaka
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 20 13:30:18 PST 2004
>Closed-Date:    Sun Feb 22 05:37:12 PST 2004
>Last-Modified:  Sun Feb 22 05:37:12 PST 2004
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #3: Fri Feb 6 08:53:09 JST 2004 root@berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

japanese/anthy unconditionally overwrite essential file "leim-list.el"
even if another input-method is installed in site-lisp directory.

To avoid such potential conflicts, .el files should be installed in
separate directory.

	
>How-To-Repeat:
	
>Fix:

	

--- patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/anthy/Makefile,v
retrieving revision 1.7
diff -u -d -r1.7 Makefile
--- Makefile	8 Nov 2003 17:25:54 -0000	1.7
+++ Makefile	20 Feb 2004 21:19:25 -0000
@@ -20,7 +20,7 @@
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
 
-ELISPDIR=	share/emacs/site-lisp
+ELISPDIR=	share/emacs/site-lisp/anthy
 PLIST_SUB=	ELISPDIR=${ELISPDIR}
 
 .if defined(WITH_2CHDIC)
@@ -40,6 +40,7 @@
 		's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
 
 post-install:
+	test -d ${PREFIX}/${ELISPDIR} || ${MKDIR} ${PREFIX}/${ELISPDIR}
 	${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${PREFIX}/${ELISPDIR}
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/japanese/anthy/pkg-plist,v
retrieving revision 1.5
diff -u -d -r1.5 pkg-plist
--- pkg-plist	8 Nov 2003 17:25:54 -0000	1.5
+++ pkg-plist	20 Feb 2004 20:49:09 -0000
@@ -34,3 +34,4 @@
 %%ELISPDIR%%/leim-list.el
 @dirrm share/anthy
 @dirrm include/anthy
+@dirrm %%ELISPDIR%%
--- patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nobutaka 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Feb 20 22:32:26 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63150 
State-Changed-From-To: open->closed 
State-Changed-By: nobutaka 
State-Changed-When: Sun Feb 22 05:36:37 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63150 
>Unformatted:
