diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2010-07-18 15:43:14 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2010-07-18 15:43:14 +0000 |
commit | acf9932a68df93fc0ddb5d9cd332f389d4a4bcbe (patch) | |
tree | f2e889b8202ffab95d8396ed349beeb6ae71d78c /app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild | |
parent | Introduce static-libs useflag. (diff) | |
download | historical-acf9932a68df93fc0ddb5d9cd332f389d4a4bcbe.tar.gz historical-acf9932a68df93fc0ddb5d9cd332f389d4a4bcbe.tar.bz2 historical-acf9932a68df93fc0ddb5d9cd332f389d4a4bcbe.zip |
Don't let the build system compress the info files, as reported in bug 328471 by Tassilo Horn <tassilo AT members DOT fsf DOT org>
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild')
-rw-r--r-- | app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild index f6ce622b6cf6..7acdef682ddb 100644 --- a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.7 2010/06/25 17:46:48 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.8 2010/07/18 15:43:14 fauli Exp $ EAPI=2 @@ -102,20 +102,20 @@ src_prepare() { sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \ -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \ - "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings" + "${S}"/src/s/freebsd.h || die if ! use alsa; then # ALSA is detected even if not requested by its USE flag. # Suppress it by supplying pkg-config with a wrong library name. sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \ - || die "unable to sed configure.in" + || die fi if ! use gzip-el; then # Emacs' build system automatically detects the gzip binary and # compresses el files. We don't want that so confuse it with a # wrong binary name sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \ - || die "unable to sed configure.in" + || die fi eautoreconf @@ -199,37 +199,38 @@ src_configure() { --program-suffix=-${EMACS_SUFFIX} \ --infodir=/usr/share/info/${EMACS_SUFFIX} \ --with-crt-dir=/usr/$(get_libdir) \ - ${myconf} || die "econf emacs failed" + --without-compress-info \ + ${myconf} || die } src_compile() { export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 if [ "${PV##*.}" = "9999" ]; then - emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed" + emake CC="$(tc-getCC)" bootstrap || die # cleanup, otherwise emacs will be dumped again in src_install (cd src; emake versionclean) fi - emake CC="$(tc-getCC)" || die "emake failed" + emake CC="$(tc-getCC)" || die } src_install () { local i m - emake install DESTDIR="${D}" || die "make install failed" + emake install DESTDIR="${D}" || die rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \ - || die "removing duplicate emacs executable failed" + || die mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \ - || die "moving Emacs executable failed" + || die # move info documentation to the correct place for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do - mv "${i}" "${i}.info" || die "mv info failed" + mv "${i}" "${i}.info" || die done # move man pages to the correct place for m in "${D}"/usr/share/man/man1/* ; do - mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed" + mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die done # avoid collision between slots, see bug #169033 e.g. @@ -267,7 +268,7 @@ src_install () { EOF elisp-site-file-install "${T}/${SITEFILE}" || die - dodoc README BUGS || die "dodoc failed" + dodoc README BUGS || die } emacs-infodir-rebuild() { |