Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 271683 Details for
Bug 365475
sys-devel/spl-9999 [science overlay] doesn't add kernel module to moduledb
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff to ebuild
spl.diff (text/plain), 1.47 KB, created by
Marcin Mirosław
on 2011-04-30 23:20:18 UTC
(
hide
)
Description:
diff to ebuild
Filename:
MIME Type:
Creator:
Marcin Mirosław
Created:
2011-04-30 23:20:18 UTC
Size:
1.47 KB
patch
obsolete
>diff --git a/sys-devel/spl/spl-9999.ebuild b/sys-devel/spl/spl-9999.ebuild >index 60911da..080ccb1 100644 >--- a/sys-devel/spl/spl-9999.ebuild >+++ b/sys-devel/spl/spl-9999.ebuild >@@ -6,7 +6,7 @@ EAPI="2" > > WANT_AUTOMAKE="1.11" > AT_M4DIR=./config # for aclocal called by eautoreconf >-inherit git linux-info eutils autotools >+inherit autotools eutils git linux-info linux-mod > > DESCRIPTION="Solaris Porting Layer - a Linux kernel module providing some Solaris kernel APIs" > HOMEPAGE="http://wiki.github.com/behlendorf/spl/" >@@ -18,11 +18,20 @@ SLOT="0" > KEYWORDS="" > IUSE="" > >-DEPEND=" >- >=virtual/linux-sources-2.6.32 >- " >+DEPEND=">=virtual/linux-sources-2.6" > RDEPEND="" > >+pkg_setup() { >+ linux-mod_pkg_setup >+ kernel_is gt 2 6 32 || die "Your kernel is too old. ${CATEGORY}/${PN} need 2.6.32 or newer." >+ linux_config_exists || die "Your kernel sources are unconfigured." >+ if ! linux_chkconfig_present PREEMPT_NONE; then >+ eerror "${CATEGORY}/${PN} doesn't currently work with PREEMPT kernel." >+ eerror "Please look at bug https://github.com/behlendorf/zfs/issues/83 ." >+ die "PREEMPT kernel" >+ fi >+} >+ > src_prepare() { > epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch > eautoreconf >@@ -37,7 +46,11 @@ src_configure() { > --with-linux="${KERNEL_DIR}" \ > --with-linux-obj="${KERNEL_DIR}" > } >+src_compile() { >+ emake || die 'emake install failed' >+} > > src_install() { > emake DESTDIR="${D}" install || die 'emake install failed' >+ find "${D}/usr/include/" -type f -exec chmod a-x "{}" + > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 365475
: 271683