summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/emacs/ChangeLog5
-rw-r--r--app-editors/emacs/emacs-18.59-r5.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index f3bd98c38d96..142323a26527 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/emacs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.285 2008/11/07 08:43:11 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.286 2008/11/14 09:11:43 ulm Exp $
+
+ 14 Nov 2008; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r5.ebuild:
+ Require libX11 built with USE=-xcb.
07 Nov 2008; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r5.ebuild,
emacs-21.4-r15.ebuild, emacs-21.4-r17.ebuild, emacs-22.2-r3.ebuild,
diff --git a/app-editors/emacs/emacs-18.59-r5.ebuild b/app-editors/emacs/emacs-18.59-r5.ebuild
index 6dfb75592fe5..5c9690ca7060 100644
--- a/app-editors/emacs/emacs-18.59-r5.ebuild
+++ b/app-editors/emacs/emacs-18.59-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r5.ebuild,v 1.5 2008/11/07 08:43:11 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r5.ebuild,v 1.6 2008/11/14 09:11:43 ulm Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -23,6 +23,11 @@ DEPEND="${RDEPEND}"
MY_BASEDIR="/usr/share/emacs/${PV}"
MY_LOCKDIR="/var/lib/emacs/lock"
+pkg_setup() {
+ use X && built_with_use x11-libs/libX11 xcb \
+ && die "${P} requires x11-libs/libX11 built with USE=-xcb"
+}
+
src_unpack() {
unpack ${A}
cd "${S}"