diff options
Diffstat (limited to 'x11-libs/libXt/libXt-1.0.7-r1.ebuild')
-rw-r--r-- | x11-libs/libXt/libXt-1.0.7-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-libs/libXt/libXt-1.0.7-r1.ebuild b/x11-libs/libXt/libXt-1.0.7-r1.ebuild new file mode 100644 index 000000000000..30200a5b1f9d --- /dev/null +++ b/x11-libs/libXt/libXt-1.0.7-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXt/libXt-1.0.7-r1.ebuild,v 1.1 2009/11/05 11:41:08 remi Exp $ + +SNAPSHOT="yes" + +inherit x-modular flag-o-matic toolchain-funcs + +DESCRIPTION="X.Org Xt library" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libSM + x11-proto/xproto + x11-proto/kbproto" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-fix-cross-compile-again.patch" ) + +pkg_setup() { + # No such function yet + # x-modular_pkg_setup + + # (#125465) Broken with Bdirect support + filter-flags -Wl,-Bdirect + filter-ldflags -Bdirect + filter-ldflags -Wl,-Bdirect + + if tc-is-cross-compiler; then + CFLAGS_FOR_BUILD="${BUILD_CFLAGS}" + fi +} |