Subject: pkg/20124: chat/liece isn't installed properly on emacs21.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gehenna@daemon-systems.org>
List: netbsd-bugs
Date: 01/30/2003 09:52:10
>Number:         20124
>Category:       pkg
>Synopsis:       chat/liece isn't installed properly on emacs21.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 30 09:53:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     MAEKAWA Masahide
>Release:        NetBSD 1.6L
>Organization:
>Environment:
NetBSD lucifer.daemon-systems.org 1.6L NetBSD 1.6L (LUCIFER)
>Description:
If emacs21 is installed on the system, chat/liece isn't installed properly.

The emacs lisps was installed into /usr/pkg/share/emacs/site-lisp/share/emacs/site-lisp/.

The icons, locale and styles was installed into /share/liece/.

The info was installed into /info.

>How-To-Repeat:
Chat/liece 1.4.10 is installed into wrong directories on emacs21 machine.

>Fix:
This fix seems to work fine for me.

Index: Makefile
===================================================================
RCS file: /cvsroot/cvs/NetBSD/pkgsrc/chat/liece/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile    25 Jan 2003 04:09:15 -0000      1.3
+++ Makefile    30 Jan 2003 17:48:37 -0000
@@ -11,10 +11,12 @@
 DEPENDS=       ${PKGNAME_PREFIX}apel>=10.3:../../devel/apel
 
 .include "../../mk/emacs.mk"
+.include "../../mk/bsd.prefs.mk"
 
 HAS_CONFIGURE= # defined
 .if ${EMACS_FLAVOR} == "emacs"
 CONFIGURE_ARGS+=--with-emacs=${EMACS_BIN}
+CONFIGURE_ARGS+=--prefix=${PREFIX}
 .else
 CONFIGURE_ARGS+=--with-xemacs=${EMACS_BIN}
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted: