summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-07-02 14:47:17 +0000
committerNed Ludd <solar@gentoo.org>2008-07-02 14:47:17 +0000
commit08c2646da4d30611fa5c6fd04dd0c85e9707bcfc (patch)
tree372b343c9215653edf11dc5ee1bcd5692c9ef48f /x11-libs/libX11
parentRemoved virtual/tetex dependency (included in dev-python/pyx, removed old ver... (diff)
downloadgentoo-2-08c2646da4d30611fa5c6fd04dd0c85e9707bcfc.tar.gz
gentoo-2-08c2646da4d30611fa5c6fd04dd0c85e9707bcfc.tar.bz2
gentoo-2-08c2646da4d30611fa5c6fd04dd0c85e9707bcfc.zip
- cross compile love. Disable {C,LD}FLAGS and redefine CC= for 'makekeys'
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-libs/libX11')
-rw-r--r--x11-libs/libX11/ChangeLog5
-rw-r--r--x11-libs/libX11/libX11-1.1.4.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/x11-libs/libX11/ChangeLog b/x11-libs/libX11/ChangeLog
index 3b4664db3b86..ee8cc58cf975 100644
--- a/x11-libs/libX11/ChangeLog
+++ b/x11-libs/libX11/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/libX11
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/ChangeLog,v 1.99 2008/06/05 21:09:50 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/ChangeLog,v 1.100 2008/07/02 14:47:17 solar Exp $
+
+ 02 Jul 2008; <solar@gentoo.org> libX11-1.1.4.ebuild:
+ - cross compile love
05 Jun 2008; Tobias Klausmann <klausman@gentoo.org> libX11-1.1.4.ebuild:
Stable on alpha, bug #223879
diff --git a/x11-libs/libX11/libX11-1.1.4.ebuild b/x11-libs/libX11/libX11-1.1.4.ebuild
index c063dd22a09d..d01e336723f8 100644
--- a/x11-libs/libX11/libX11-1.1.4.ebuild
+++ b/x11-libs/libX11/libX11-1.1.4.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.1.4.ebuild,v 1.7 2008/06/05 21:09:50 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.1.4.ebuild,v 1.8 2008/07/02 14:47:17 solar Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
-inherit x-modular
+inherit x-modular toolchain-funcs flag-o-matic
DESCRIPTION="X.Org X11 library"
@@ -29,3 +29,11 @@ CONFIGURE_OPTIONS="$(use_enable ipv6)
$(use_with xcb)"
# xorg really doesn't like xlocale disabled.
# $(use_enable nls xlocale)
+
+x-modular_src_compile() {
+ x-modular_src_configure
+ # [Cross-Compile Love] Disable {C,LD}FLAGS and redefine CC= for 'makekeys'
+ ( filter-flags -m* ; cd src/util && make CC=$(tc-getBUILD_CC) CFLAGS="${CFLAGS}" LDFLAGS="" clean all)
+ x-modular_src_make
+}
+