Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 468614 Details for
Bug 614252
freebsd-sources-11.0-r1 does not build opensolaris.ko without USE=dtrace
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Build CDDL code with USE=zfs
freebsd-sources-11.0-r1.ebuild.patch (text/plain), 1.71 KB, created by
Johan Hattne
on 2017-03-29 23:52:01 UTC
(
hide
)
Description:
Build CDDL code with USE=zfs
Filename:
MIME Type:
Creator:
Johan Hattne
Created:
2017-03-29 23:52:01 UTC
Size:
1.71 KB
patch
obsolete
>--- freebsd-sources-11.0-r1.ebuild.orig 2017-02-28 14:50:50.000000000 -0500 >+++ freebsd-sources-11.0-r1.ebuild 2017-03-29 19:30:27.376558000 -0400 >@@ -27,12 +27,14 @@ > " > > RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) >+ zfs? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) > =sys-freebsd/freebsd-mk-defs-${RV}* > !sys-freebsd/virtio-kmod > !sys-fs/fuse4bsd > !<sys-freebsd/freebsd-sources-9.2_beta1" > DEPEND="build-kernel? ( > dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) >+ zfs? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) > >=sys-freebsd/freebsd-usbin-9.1 > =sys-freebsd/freebsd-mk-defs-${RV}* > )" >@@ -54,11 +56,15 @@ > > pkg_setup() { > # Add the required source files. >- use dtrace && EXTRACTONLY+="cddl/ " >+ if use dtrace || use zfs ; then >+ EXTRACTONLY+="cddl/ " >+ fi > > # WITHOUT_SSP= is required to boot kernel that compiled with newer gcc, bug #477914 > [[ $(tc-getCC) == *gcc* ]] && mymakeopts="${mymakeopts} WITHOUT_SSP= WITHOUT_FORMAT_EXTENSIONS=" >- use dtrace || mymakeopts="${mymakeopts} WITHOUT_CDDL=" >+ if ! use dtrace && ! use zfs ; then >+ mymakeopts="${mymakeopts} WITHOUT_CDDL=" >+ fi > use zfs || mymakeopts="${mymakeopts} WITHOUT_ZFS=" > } > >@@ -135,7 +141,7 @@ > > insinto "/usr/src/sys" > doins -r "${S}/". >- if use dtrace ; then >+ if use dtrace || use zfs ; then > insinto "/usr/src/cddl" > doins -r "${WORKDIR}/cddl/". > fi >@@ -163,7 +169,7 @@ > ewarn "export WITHOUT_CDDL=" > ewarn "Note, Please set USE=zfs if you want to enable modules of CDDL license." > fi >- if ! use dtrace && ! has_version '>=sys-freebsd/freebsd-cddl-9.2_beta1' ; then >+ if ! use dtrace && ! use zfs && ! has_version '>=sys-freebsd/freebsd-cddl-9.2_beta1' ; then > ewarn "GENERIC config require sys-freebsd/freebsd-cddl. Please emerge it." > fi > }
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 614252
: 468614