Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 06:29:08 +0900 (JST)
From:      NIIMI Satoshi <sa2c@sa2c.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nobutaka@FreeBSD.org
Subject:   ports/63150: japanese/anthy: change request for location of .el files 
Message-ID:  <20040220212908.5057815225@berkeley.l.sa2c.net>
Resent-Message-ID: <200402202130.i1KLUIsU006635@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63150
>Category:       ports
>Synopsis:       japanese/anthy: change request for location of .el files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 20 13:30:18 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220212908.5057815225>