Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 06:04:33 +0900 (JST)
From:      NIIMI Satoshi <sa2c@sa2c.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87956: PATCH: devel/gettext: silently depends on emacs
Message-ID:  <20051024210433.880E31145C@berkeley.l.sa2c.net>
Resent-Message-ID: <200510242110.j9OLAFgj058377@freefall.freebsd.org>

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

>Number:         87956
>Category:       ports
>Synopsis:       PATCH: devel/gettext: silently depends on emacs
>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:   Mon Oct 24 21:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 6.0-RC1 FreeBSD 6.0-RC1 #1: Sun Oct 23 11:38:24 JST 2005 root@berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

In ${WRKDIR}/gettext-tools, emacs are detected by configure, emacs
lisp files are byte compiled, and emacs lisp sources are installed.

This is unnecessary because emacs lisp files are installed by
post-install target, and this causes some troubles:

* When emacs exists, extra file "start-po.el" is installed.

* When only xemacs exists, emacs lisp files are installed in
  "${PREFIX}/lib/site-lisp".

* When emacs exists but does not work (such as portupgrade -fa after
  upgrade FreeBSD version), this port fails to build.

	
>How-To-Repeat:
	
>Fix:
	
With this patch, files/patch-ad can be removed.

--- gettext.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/gettext/Makefile,v
retrieving revision 1.70
diff -u -u -r1.70 Makefile
--- Makefile	17 Jun 2005 17:11:00 -0000	1.70
+++ Makefile	24 Oct 2005 20:05:08 -0000
@@ -26,7 +26,8 @@
 		AUTOHEADER="${TRUE}" \
 		MAKEINFO="makeinfo --no-split" \
 		CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib" \
+		EMACS="no"
 CONFIGURE_ARGS=	--disable-csharp \
 		--mandir=${PREFIX}/man
 INSTALLS_SHLIB=	yes
--- gettext.diff ends here ---


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



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