summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-08 20:57:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-08 20:57:55 +0000
commitd406cb411ed4dc2cd91338fc70003957beabd019 (patch)
tree923a538e01ecbe1cac55a628e2f5401f98753838
parentstable ppc64, bug 250281 (diff)
downloadgentoo-2-d406cb411ed4dc2cd91338fc70003957beabd019.tar.gz
gentoo-2-d406cb411ed4dc2cd91338fc70003957beabd019.tar.bz2
gentoo-2-d406cb411ed4dc2cd91338fc70003957beabd019.zip
Respect AR, CC and RANLIB.
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
-rw-r--r--sys-libs/lrmi/ChangeLog5
-rw-r--r--sys-libs/lrmi/lrmi-0.10-r1.ebuild21
2 files changed, 13 insertions, 13 deletions
diff --git a/sys-libs/lrmi/ChangeLog b/sys-libs/lrmi/ChangeLog
index 81db1dbbcdb3..36b90e747d0e 100644
--- a/sys-libs/lrmi/ChangeLog
+++ b/sys-libs/lrmi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/lrmi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/lrmi/ChangeLog,v 1.21 2008/10/18 17:29:58 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/lrmi/ChangeLog,v 1.22 2008/12/08 20:57:55 ssuominen Exp $
+
+ 08 Dec 2008; <ssuominen@gentoo.org> lrmi-0.10-r1.ebuild:
+ Respect AR, CC and RANLIB.
18 Oct 2008; Michał Januszewski <spock@gentoo.org> -lrmi-0.8.ebuild:
Remove an old ebuild.
diff --git a/sys-libs/lrmi/lrmi-0.10-r1.ebuild b/sys-libs/lrmi/lrmi-0.10-r1.ebuild
index 4c721e928cf2..418a0451c138 100644
--- a/sys-libs/lrmi/lrmi-0.10-r1.ebuild
+++ b/sys-libs/lrmi/lrmi-0.10-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/sys-libs/lrmi/lrmi-0.10-r1.ebuild,v 1.3 2008/10/09 20:35:19 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/lrmi/lrmi-0.10-r1.ebuild,v 1.4 2008/12/08 20:57:55 ssuominen Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="library for calling real mode BIOS routines under Linux"
HOMEPAGE="http://www.sourceforge.net/projects/lrmi/"
@@ -13,27 +13,24 @@ SLOT="0"
KEYWORDS="x86"
IUSE=""
-DEPEND=""
-RDEPEND=""
-
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/lrmi-0.10-kernel-2.6.26.patch
+ epatch "${FILESDIR}"/${P}-kernel-2.6.26.patch
}
src_compile() {
- emake CFLAGS="${CFLAGS}" || die
+ tc-export CC AR RANLIB
+ emake CFLAGS="${CFLAGS} -Wall" || die "emake failed."
}
src_install() {
- dobin vbetest || die "dobin"
-
- dolib.a liblrmi.a || die "dolib.a"
- dolib.so liblrmi.so.${PV} || die "dolib.so"
+ dobin vbetest || die "dobin failed."
+ dolib.a liblrmi.a || die "dolib.a failed."
+ dolib.so liblrmi.so.${PV} || die "dolib.so failed."
dosym liblrmi.so.${PV} /usr/lib/liblrmi.so
dosym liblrmi.so.${PV} /usr/lib/liblrmi.so.${PV%%.*}
insinto /usr/include
- doins lrmi.h vbe.h || die "doins include"
+ doins lrmi.h vbe.h || die "doins failed."
}