diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-02-09 16:43:34 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-02-09 16:43:34 +0000 |
commit | 23fc7b623f5a58d9a9e6866f8e8dbb20d19f40c8 (patch) | |
tree | ddc3f3a6f6dc2ed2abc5a3737ebf66ddd8b655e7 /x11-misc/transset-df/transset-df-6.ebuild | |
parent | pitivi needs setuptools at runtime (diff) | |
download | gentoo-2-23fc7b623f5a58d9a9e6866f8e8dbb20d19f40c8.tar.gz gentoo-2-23fc7b623f5a58d9a9e6866f8e8dbb20d19f40c8.tar.bz2 gentoo-2-23fc7b623f5a58d9a9e6866f8e8dbb20d19f40c8.zip |
Respect CC, CFLAGS, LDFLAGS
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/transset-df/transset-df-6.ebuild')
-rw-r--r-- | x11-misc/transset-df/transset-df-6.ebuild | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/x11-misc/transset-df/transset-df-6.ebuild b/x11-misc/transset-df/transset-df-6.ebuild index 3ffb449db1bd..2177597eb137 100644 --- a/x11-misc/transset-df/transset-df-6.ebuild +++ b/x11-misc/transset-df/transset-df-6.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/transset-df/transset-df-6.ebuild,v 1.3 2008/01/09 15:26:28 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/transset-df/transset-df-6.ebuild,v 1.4 2009/02/09 16:43:34 angelos Exp $ + +inherit eutils toolchain-funcs DESCRIPTION="a patched version of xorg's transset" HOMEPAGE="http://forchheimer.se/transset-df/" @@ -20,6 +22,17 @@ DEPEND="${RDEPEND} dev-util/pkgconfig x11-proto/xproto" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ldflags.patch + sed -i -e "/^CFLAGS/d" Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + src_install() { dobin transset-df dodoc ChangeLog README |