Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 23:46:19 +0200 (CEST)
From:      Olivier Tharan <olive@oban.frmug.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40670: gettext: missing file in pkg-plist
Message-ID:  <20020716214619.B49CA8C14@weirdos.oban.frmug.org>

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

>Number:         40670
>Category:       ports
>Synopsis:       gettext: missing file in pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 16 15:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Tharan
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD weirdos.oban.frmug.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 30 18:15:15 CEST 2002 root@suzie.oban.frmug.org:/usr/obj/usr/src/sys/WEIRDOS i386


>Description:

	The devel/gettext port does not install po-compat.el, needed for
	proper operation with Emacs. This is a patch to get it installed.

	Another idea crosses my mind: since the build process byte-compiles
	those 2 files, why would we not install the .elc too?

>How-To-Repeat:
	Install port, try to open a .po file, get following message:
	File mode specification error: (file-error "Cannot open load file" "po-compat")
>Fix:
(relative to /usr/ports/devel/gettext)
--- Makefile.orig       Tue Jul 16 23:40:12 2002
+++ Makefile    Tue Jul 16 23:40:43 2002
@@ -40,6 +40,8 @@
 post-install:
        @install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir
        ${MKDIR} ${PREFIX}/share/emacs/site-lisp
+       ${INSTALL_DATA} ${WRKSRC}/misc/po-compat.el \
+               ${PREFIX}/share/emacs/site-lisp/po-compat.el
        ${INSTALL_DATA} ${WRKSRC}/misc/po-mode.el \
                ${PREFIX}/share/emacs/site-lisp/po-mode.el
        ${MKDIR} ${X11BASE}/share/locale

--- pkg-plist.orig      Tue Jul 16 23:32:49 2002
+++ pkg-plist   Tue Jul 16 23:33:01 2002
@@ -89,6 +89,7 @@
 share/doc/gettext/ngettext.3.html
 share/doc/gettext/textdomain.3.html
 share/doc/gettext/xgettext.1.html
+share/emacs/site-lisp/po-compat.el
 share/emacs/site-lisp/po-mode.el
 share/gettext/ABOUT-NLS
 share/gettext/config.rpath


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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