ports/87956: PATCH: devel/gettext: silently depends on emacs

NIIMI Satoshi sa2c at sa2c.net
Mon Oct 24 21:10:16 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list