summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-12-27 21:34:25 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-12-27 21:34:25 +0000
commit8264a6ccd229c4636f83880700e968c1d5b3dac7 (patch)
tree09fbd61edde1276fe961d31941cc2911b76b93e4 /sys-apps/kmod/kmod-9999.ebuild
parentThere are usages in the tree of "append-libs $(pkg-config ...)"; if pkg-confi... (diff)
downloadgentoo-2-8264a6ccd229c4636f83880700e968c1d5b3dac7.tar.gz
gentoo-2-8264a6ccd229c4636f83880700e968c1d5b3dac7.tar.bz2
gentoo-2-8264a6ccd229c4636f83880700e968c1d5b3dac7.zip
Version bump (and synchronize with -9999)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-apps/kmod/kmod-9999.ebuild')
-rw-r--r--sys-apps/kmod/kmod-9999.ebuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
index 22c74e7ec01c..d723295cea93 100644
--- a/sys-apps/kmod/kmod-9999.ebuild
+++ b/sys-apps/kmod/kmod-9999.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.65 2013/09/19 13:57:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.66 2013/12/27 21:34:25 ssuominen Exp $
EAPI=5
-inherit autotools eutils libtool multilib toolchain-funcs versionator
+inherit eutils multilib
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git"
- inherit git-2
+ inherit autotools git-2
else
SRC_URI="mirror://kernel/linux/utils/kernel/kmod/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ inherit libtool
fi
DESCRIPTION="library and tools for managing linux kernel modules"
@@ -37,11 +38,6 @@ DEPEND="${RDEPEND}
lzma? ( virtual/pkgconfig )
zlib? ( virtual/pkgconfig )"
-pkg_setup() {
- [[ $(tc-getCPP) == *cpp ]] && ! version_is_at_least 4.6 $(gcc-version) && \
- die "You need at least GNU GCC 4.6.x to build this package." #481020
-}
-
src_prepare() {
if [ ! -e configure ]; then
if use doc; then
@@ -51,6 +47,7 @@ src_prepare() {
fi
eautoreconf
else
+ epatch "${FILESDIR}"/${PN}-15-dynamic-kmod.patch #493630
elibtoolize
fi
@@ -63,7 +60,7 @@ src_prepare() {
src_configure() {
econf \
--bindir=/bin \
- --with-rootlibdir=/$(get_libdir) \
+ --with-rootlibdir="/$(get_libdir)" \
--enable-shared \
$(use_enable static-libs static) \
$(use_enable tools) \