diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-27 17:04:29 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-27 17:04:29 +0000 |
commit | 69626a496a993e5c6e099c9527ee9b2d4d7dbaef (patch) | |
tree | 7eff36ab0ec8eee66d57a6c74f7efea7f44398f0 /x11-misc/xkeycaps | |
parent | Initial commit. (diff) | |
download | gentoo-2-69626a496a993e5c6e099c9527ee9b2d4d7dbaef.tar.gz gentoo-2-69626a496a993e5c6e099c9527ee9b2d4d7dbaef.tar.bz2 gentoo-2-69626a496a993e5c6e099c9527ee9b2d4d7dbaef.zip |
Respect CC,CFLAGS,LDFLAGS wrt bug 334661. Thanks to Diego for the report.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xkeycaps')
-rw-r--r-- | x11-misc/xkeycaps/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xkeycaps/xkeycaps-2.47-r1.ebuild (renamed from x11-misc/xkeycaps/xkeycaps-2.47.ebuild) | 19 |
2 files changed, 18 insertions, 11 deletions
diff --git a/x11-misc/xkeycaps/ChangeLog b/x11-misc/xkeycaps/ChangeLog index fd4a0a488915..7a85bf38fd7b 100644 --- a/x11-misc/xkeycaps/ChangeLog +++ b/x11-misc/xkeycaps/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xkeycaps -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/ChangeLog,v 1.20 2008/12/07 21:09:06 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/ChangeLog,v 1.21 2010/08/27 17:04:29 xarthisius Exp $ + +*xkeycaps-2.47-r1 (27 Aug 2010) + + 27 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> -xkeycaps-2.47.ebuild, + +xkeycaps-2.47-r1.ebuild: + Respect CC,CFLAGS,LDFLAGS wrt bug 334661. Thanks to Diego for the report. *xkeycaps-2.47 (07 Dec 2008) diff --git a/x11-misc/xkeycaps/xkeycaps-2.47.ebuild b/x11-misc/xkeycaps/xkeycaps-2.47-r1.ebuild index 589e8e3e1acd..841cca8c90ea 100644 --- a/x11-misc/xkeycaps/xkeycaps-2.47.ebuild +++ b/x11-misc/xkeycaps/xkeycaps-2.47-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/xkeycaps-2.47.ebuild,v 1.1 2008/12/07 21:09:06 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/xkeycaps-2.47-r1.ebuild,v 1.1 2010/08/27 17:04:29 xarthisius Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="GUI frontend to xmodmap" HOMEPAGE="http://packages.qa.debian.org/x/xkeycaps.html" @@ -32,14 +32,15 @@ src_unpack() { } src_compile() { - xmkmf || die "xmkmf failed." + xmkmf || die sed -i -e "s,all:: xkeycaps.\$(MANSUFFIX).html,all:: ,g" \ - Makefile || die "sed failed." - emake || die "emake failed." + Makefile || die + emake EXTRA_LDOPTIONS="${LDFLAGS}" CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" || die } src_install () { - emake DESTDIR="${D}" install || die "emake install failed." - newman ${PN}.man ${PN}.1 - dodoc README *.txt + emake DESTDIR="${D}" install || die + newman ${PN}.man ${PN}.1 || die + dodoc README *.txt || die } |