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 | |
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')
-rw-r--r-- | x11-misc/transset-df/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/transset-df/files/transset-df-6-ldflags.patch | 11 | ||||
-rw-r--r-- | x11-misc/transset-df/transset-df-6.ebuild | 17 |
3 files changed, 32 insertions, 4 deletions
diff --git a/x11-misc/transset-df/ChangeLog b/x11-misc/transset-df/ChangeLog index d648db294d8e..16d580e69fec 100644 --- a/x11-misc/transset-df/ChangeLog +++ b/x11-misc/transset-df/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/transset-df -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/transset-df/ChangeLog,v 1.5 2008/01/09 15:26:28 angelos Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/transset-df/ChangeLog,v 1.6 2009/02/09 16:43:34 angelos Exp $ + + 09 Feb 2009; Christoph Mende <angelos@gentoo.org> + +files/transset-df-6-ldflags.patch, transset-df-6.ebuild: + Respect CC, CFLAGS, LDFLAGS 09 Jan 2008; Christoph Mende <angelos@gentoo.org> transset-df-6.ebuild: Added missing pkgconfig and X library deps diff --git a/x11-misc/transset-df/files/transset-df-6-ldflags.patch b/x11-misc/transset-df/files/transset-df-6-ldflags.patch new file mode 100644 index 000000000000..741ca0485fb7 --- /dev/null +++ b/x11-misc/transset-df/files/transset-df-6-ldflags.patch @@ -0,0 +1,11 @@ +--- transset-df-6/Makefile.orig 2006-01-10 22:34:56.000000000 +0100 ++++ transset-df-6/Makefile 2009-02-09 17:36:59.292898452 +0100 +@@ -9,7 +9,7 @@ + OBJS=transSet.o dsimple.o + + transset-df: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + $(OBJS): dsimple.h + 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 |