summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-04-22 17:00:28 +0000
committerSamuli Suominen <drac@gentoo.org>2008-04-22 17:00:28 +0000
commit3c59ed4b848ebdf2b2793949585076aaa9a58923 (patch)
tree4f39669c6f1bf24e7681ee6824ecc6c17b626cb6 /x11-misc/lineakd/lineakd-0.9.0-r1.ebuild
parentAdd ~sparc (diff)
downloadgentoo-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.ebuild14
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