summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-17 19:28:20 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-17 19:28:20 +0000
commitf0318dbff89d7132a09f86b33a72642bb3bfeb83 (patch)
treefffe27a69882e22a3580fab39c9116dc557ad4f9 /sys-devel/sparse/sparse-9999.ebuild
parentrdepend to dev-util/mercurial fixed; thanks to R.Gruber on bug #192805 (diff)
downloadgentoo-2-f0318dbff89d7132a09f86b33a72642bb3bfeb83.tar.gz
gentoo-2-f0318dbff89d7132a09f86b33a72642bb3bfeb83.tar.bz2
gentoo-2-f0318dbff89d7132a09f86b33a72642bb3bfeb83.zip
Version bump.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-devel/sparse/sparse-9999.ebuild')
-rw-r--r--sys-devel/sparse/sparse-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild
index 34a778a2bdef..f19d127369a3 100644
--- a/sys-devel/sparse/sparse-9999.ebuild
+++ b/sys-devel/sparse/sparse-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild,v 1.1 2007/08/25 12:40:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild,v 1.2 2007/09/17 19:28:20 vapier Exp $
EGIT_REPO_URI="git://git.kernel.org/pub/scm/devel/sparse/sparse.git"
inherit eutils multilib git
@@ -20,10 +20,13 @@ RDEPEND=""
src_unpack() {
git_src_unpack
cd "${S}"
- sed -i '/^PREFIX=/s:=.*:=/usr:' Makefile
+ sed -i \
+ -e '/^PREFIX=/s:=.*:=/usr:' \
+ -e "/^LIBDIR=/s:/lib:/$(get_libdir):" \
+ Makefile || die
}
src_install() {
- emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dodoc FAQ README
}