ports/63150: japanese/anthy: change request for location of .el files
NIIMI Satoshi
sa2c at sa2c.net
Fri Feb 20 21:30:19 UTC 2004
>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 at 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
+ at dirrm %%ELISPDIR%%
--- patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list