|
|
# Copyright 1999-2008 Gentoo Foundation | # Copyright 1999-2008 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.2.ebuild,v 1.3 2008/04/01 11:43:24 ulm Exp $ |
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.2.ebuild,v 1.2 2008/03/28 06:29:03 ulm Exp $ |
| |
inherit autotools elisp-common eutils flag-o-matic | inherit autotools elisp-common eutils flag-o-matic |
| |
|
|
>=app-admin/eselect-emacs-1.2 | >=app-admin/eselect-emacs-1.2 |
net-libs/liblockfile | net-libs/liblockfile |
hesiod? ( net-dns/hesiod ) | hesiod? ( net-dns/hesiod ) |
kerberos? ( app-crypt/mit-krb5 ) |
kerberos? ( virtual/krb5 ) |
spell? ( || ( app-text/ispell app-text/aspell ) ) | spell? ( || ( app-text/ispell app-text/aspell ) ) |
alsa? ( media-libs/alsa-lib ) | alsa? ( media-libs/alsa-lib ) |
X? ( | X? ( |
|
|
| |
epatch "${FILESDIR}/emacs-22.1-Xaw3d-headers.patch" | epatch "${FILESDIR}/emacs-22.1-Xaw3d-headers.patch" |
epatch "${FILESDIR}/emacs-22.1-freebsd-sparc.patch" | epatch "${FILESDIR}/emacs-22.1-freebsd-sparc.patch" |
|
epatch "${FILESDIR}/emacs-pop-heimdal.patch" |
| |
sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \ | 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" \ | -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \ |