diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-04-22 17:00:28 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-04-22 17:00:28 +0000 |
commit | 3c59ed4b848ebdf2b2793949585076aaa9a58923 (patch) | |
tree | 4f39669c6f1bf24e7681ee6824ecc6c17b626cb6 /x11-misc/lineakd/lineakd-0.9.0-r1.ebuild | |
parent | Add ~sparc (diff) | |
download | gentoo-2-3c59ed4b848ebdf2b2793949585076aaa9a58923.tar.gz gentoo-2-3c59ed4b848ebdf2b2793949585076aaa9a58923.tar.bz2 gentoo-2-3c59ed4b848ebdf2b2793949585076aaa9a58923.zip |
Fix building with GCC 4.3, thanks to Peter Alfredsen wrt #218784.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'x11-misc/lineakd/lineakd-0.9.0-r1.ebuild')
-rw-r--r-- | x11-misc/lineakd/lineakd-0.9.0-r1.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild index a8270c3af167..ee818f198c78 100644 --- a/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild +++ b/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild,v 1.7 2008/01/07 10:51:50 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineakd/lineakd-0.9.0-r1.ebuild,v 1.8 2008/04/22 17:00:28 drac Exp $ -inherit multilib +inherit eutils multilib MY_P=${P/.0/} @@ -27,14 +27,20 @@ DEPEND="${RDEPEND} x11-proto/xproto x11-libs/libXtst" -S="${WORKDIR}"/${MY_P} +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} src_compile() { econf $(use_enable debug) --with-x emake || die "emake failed." } -src_install () { +src_install() { sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile dodir /usr/share/man/man8 |