diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-11-16 14:20:23 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2009-11-16 14:20:23 +0000 |
commit | 864eba86f3af53a894184131fc0fc1cc71b08745 (patch) | |
tree | 7104ad8f1a6f7ec51ff8dd8b3ce4cf453ba0c906 /app-misc/inputlircd | |
parent | Stable for ppc. (diff) | |
download | gentoo-2-864eba86f3af53a894184131fc0fc1cc71b08745.tar.gz gentoo-2-864eba86f3af53a894184131fc0fc1cc71b08745.tar.bz2 gentoo-2-864eba86f3af53a894184131fc0fc1cc71b08745.zip |
Respect CC, CFLAGS and LDFLAGS, Bug #243650.
(Portage version: 2.2_rc50/cvs/Linux i686)
Diffstat (limited to 'app-misc/inputlircd')
-rw-r--r-- | app-misc/inputlircd/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild | 14 |
2 files changed, 18 insertions, 2 deletions
diff --git a/app-misc/inputlircd/ChangeLog b/app-misc/inputlircd/ChangeLog index 3d7c1f72c76b..b68b26817a4a 100644 --- a/app-misc/inputlircd/ChangeLog +++ b/app-misc/inputlircd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/inputlircd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/inputlircd/ChangeLog,v 1.15 2009/11/16 10:56:35 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/inputlircd/ChangeLog,v 1.16 2009/11/16 14:20:23 zzam Exp $ + + 16 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> + inputlircd-0.0.1_pre11-r1.ebuild: + Respect CC, CFLAGS and LDFLAGS, Bug #243650. *inputlircd-0.0.1_pre11-r1 (16 Nov 2009) diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild index c2faee4398ed..86fbee3f47e3 100644 --- a/app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild +++ b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild,v 1.1 2009/11/16 10:56:35 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/inputlircd/inputlircd-0.0.1_pre11-r1.ebuild,v 1.2 2009/11/16 14:20:23 zzam Exp $ + +inherit toolchain-funcs DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*" HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk" @@ -14,6 +16,16 @@ IUSE="" DEPEND="" RDEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" || die "make failed" +} + src_install() { emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed" |