summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-02-27 01:12:48 +0000
committerMike Gilbert <floppym@gentoo.org>2012-02-27 01:12:48 +0000
commitb08b954bf349fc111b0c6d5c368d8aadea07269f (patch)
tree170c50f0df4dcbaa967dee8f487737a2b4cd6ec8 /sys-kernel/spl
parentAdd missing dependency. Fix building with x11-libs/fltk[-static-libs] by Atti... (diff)
downloadgentoo-2-b08b954bf349fc111b0c6d5c368d8aadea07269f.tar.gz
gentoo-2-b08b954bf349fc111b0c6d5c368d8aadea07269f.tar.bz2
gentoo-2-b08b954bf349fc111b0c6d5c368d8aadea07269f.zip
Updates by Richard to resolve bug 405795. Add custom-cflags USE flag.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/spl')
-rw-r--r--sys-kernel/spl/ChangeLog5
-rw-r--r--sys-kernel/spl/spl-9999.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/sys-kernel/spl/ChangeLog b/sys-kernel/spl/ChangeLog
index a961325afb13..779bc71f4c49 100644
--- a/sys-kernel/spl/ChangeLog
+++ b/sys-kernel/spl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-kernel/spl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/ChangeLog,v 1.7 2012/02/24 22:35:35 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/ChangeLog,v 1.8 2012/02/27 01:12:48 floppym Exp $
+
+ 27 Feb 2012; Mike Gilbert <floppym@gentoo.org> spl-9999.ebuild:
+ Updates by Richard to resolve bug 405795. Add custom-cflags USE flag.
24 Feb 2012; Mike Gilbert <floppym@gentoo.org> spl-9999.ebuild:
Updates from Richard Yao for bug 405201.
diff --git a/sys-kernel/spl/spl-9999.ebuild b/sys-kernel/spl/spl-9999.ebuild
index eb40944fc956..b4f9c8e0f04a 100644
--- a/sys-kernel/spl/spl-9999.ebuild
+++ b/sys-kernel/spl/spl-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/spl-9999.ebuild,v 1.7 2012/02/24 22:35:35 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/spl-9999.ebuild,v 1.8 2012/02/27 01:12:48 floppym Exp $
EAPI="4"
@@ -14,7 +14,7 @@ EGIT_REPO_URI="git://github.com/zfsonlinux/spl.git"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS=""
-IUSE="debug"
+IUSE="custom-cflags debug"
RDEPEND="!sys-devel/spl"
@@ -23,7 +23,8 @@ AUTOTOOLS_AUTORECONF="1"
AUTOTOOLS_IN_SOURCE_BUILD="1"
pkg_setup() {
- CONFIG_CHECK="!PREEMPT
+ CONFIG_CHECK="MODULES
+ !PREEMPT
!DEBUG_LOCK_ALLOC
ZLIB_DEFLATE
ZLIB_INFLATE"
@@ -38,9 +39,11 @@ src_prepare() {
}
src_configure() {
+ use custom-cflags || strip-flags
set_arch_to_kernel
local myeconfargs=(
- --exec-prefix=
+ --bin=/bin
+ --sbin=/sbin
--with-config=all
--with-linux="${KV_DIR}"
--with-linux-obj="${KV_OUT_DIR}"