diff options
author | Chad Huneycutt <chadh@gentoo.org> | 2001-08-22 02:25:13 +0000 |
---|---|---|
committer | Chad Huneycutt <chadh@gentoo.org> | 2001-08-22 02:25:13 +0000 |
commit | e5d540c1958ea6a09ec96b7655d01f679e370b8a (patch) | |
tree | 607d428e606c10542bf9716cdda1b5e1160b9114 /sys-devel | |
parent | This is the experimental objprelink for qt/kde. Support for all other kde pac... (diff) | |
download | historical-e5d540c1958ea6a09ec96b7655d01f679e370b8a.tar.gz historical-e5d540c1958ea6a09ec96b7655d01f679e370b8a.tar.bz2 historical-e5d540c1958ea6a09ec96b7655d01f679e370b8a.zip |
gettext tries to install some emacs .el files even if emacs is not
merged. /usr/bin/emacs exists, though.
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gettext/files/gettext-0.10.38-gentoo.diff | 22 | ||||
-rw-r--r-- | sys-devel/gettext/gettext-0.10.38.ebuild | 12 |
2 files changed, 33 insertions, 1 deletions
diff --git a/sys-devel/gettext/files/gettext-0.10.38-gentoo.diff b/sys-devel/gettext/files/gettext-0.10.38-gentoo.diff new file mode 100644 index 000000000000..f6339550a79e --- /dev/null +++ b/sys-devel/gettext/files/gettext-0.10.38-gentoo.diff @@ -0,0 +1,22 @@ +diff -r -C2 gettext-0.10.38.orig/misc/Makefile.in gettext-0.10.38/misc/Makefile.in +*** gettext-0.10.38.orig/misc/Makefile.in Wed May 23 16:54:14 2001 +--- gettext-0.10.38/misc/Makefile.in Tue Aug 21 22:05:17 2001 +*************** +*** 176,183 **** + done + .el.elc: +! @echo 'WARNING: Warnings can be ignored. :-)' +! if test $(EMACS) != no; then \ +! EMACS=$(EMACS) $(SHELL) $(srcdir)/elisp-comp $<; \ +! fi + + mostlyclean-lisp: +--- 176,183 ---- + done + .el.elc: +! #@echo 'WARNING: Warnings can be ignored. :-)' +! #if test $(EMACS) != no; then \ +! # EMACS=$(EMACS) $(SHELL) $(srcdir)/elisp-comp $<; \ +! #fi + + mostlyclean-lisp: diff --git a/sys-devel/gettext/gettext-0.10.38.ebuild b/sys-devel/gettext/gettext-0.10.38.ebuild index 6f1fe55773cf..baa397e7427a 100644 --- a/sys-devel/gettext/gettext-0.10.38.ebuild +++ b/sys-devel/gettext/gettext-0.10.38.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.10.38.ebuild,v 1.3 2001/06/18 12:31:06 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.10.38.ebuild,v 1.4 2001/08/22 02:25:13 chadh Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -14,6 +14,16 @@ if [ -z "`use build`" ] ; then DEPEND="virtual/glibc" fi +src_unpack() { + unpack ${A} + cd ${WORKDIR} + # this patch stops gettext from installing some emacs .el + # files. The problem with this is that it tries to use + # /usr/bin/emacs, which is a link to e3em in the build + # system. + patch -p0 < ${FILESDIR}/${PF}-gentoo.diff +} + src_compile() { local myconf if [ -z "`use nls`" ] |