Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 247137 Details for
Bug 336215
x11-drivers/nvidia-drivers: building the kernel module should be optional
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
nvidia-drivers-256.53-ebuild-optional-kmod.patch (text/plain), 2.51 KB, created by
Ambroz Bizjak
on 2010-09-13 15:53:29 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ambroz Bizjak
Created:
2010-09-13 15:53:29 UTC
Size:
2.51 KB
patch
obsolete
>--- /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-256.53.ebuild 2010-08-31 17:57:49.000000000 +0200 >+++ /var/paludis/repositories/ambro/x11-drivers/nvidia-drivers/nvidia-drivers-256.53.ebuild 2010-09-13 17:49:27.780000026 +0200 >@@ -19,7 +19,7 @@ > LICENSE="NVIDIA" > SLOT="0" > KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" >-IUSE="acpi custom-cflags gtk multilib kernel_linux" >+IUSE="acpi custom-cflags gtk multilib kernel_linux +kmod" > RESTRICT="strip" > EMULTILIB_PKG="true" > >@@ -29,7 +29,7 @@ > >=app-admin/eselect-opengl-1.0.9 > !<media-video/nvidia-settings-256.52" > DEPEND="${COMMON} >- kernel_linux? ( virtual/linux-sources )" >+ kernel_linux? ( kmod? ( virtual/linux-sources ) )" > RDEPEND="${COMMON} > x11-libs/libXvMC > kernel_linux? ( virtual/modutils ) >@@ -194,7 +194,7 @@ > die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}" > fi > >- if use kernel_linux; then >+ if use kernel_linux && use kmod; then > linux-mod_pkg_setup > MODULE_NAMES="nvidia(video:${S}/kernel)" > BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} \ >@@ -241,7 +241,7 @@ > } > > src_unpack() { >- if use kernel_linux && kernel_is lt 2 6 7; then >+ if use kernel_linux && use kmod && kernel_is lt 2 6 7; then > echo > ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" > ewarn "This is not officially supported for ${P}. It is likely you" >@@ -263,7 +263,7 @@ > # Please add a brief description for every added patch > use x86-fbsd && cd doc > >- if use kernel_linux; then >+ if use kernel_linux && use kmod; then > # Quiet down warnings the user does not need to see > sed -i \ > -e 's:-Wsign-compare::g' \ >@@ -289,14 +289,16 @@ > if use x86-fbsd; then > MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \ > LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die >- elif use kernel_linux; then >+ elif use kernel_linux && use kmod; then > linux-mod_src_compile > fi > } > > src_install() { > if use kernel_linux; then >- linux-mod_src_install >+ if use kmod; then >+ linux-mod_src_install >+ fi > > VIDEOGROUP="$(egetent group video | cut -d ':' -f 3)" > if [ -z "$VIDEOGROUP" ]; then >@@ -465,7 +467,7 @@ > } > > pkg_preinst() { >- if use kernel_linux; then >+ if use kernel_linux && use kmod; then > linux-mod_pkg_postinst > fi > >@@ -481,7 +483,7 @@ > } > > pkg_postinst() { >- if use kernel_linux; then >+ if use kernel_linux && use kmod; then > linux-mod_pkg_postinst > fi > >@@ -511,7 +513,7 @@ > } > > pkg_postrm() { >- if use kernel_linux; then >+ if use kernel_linux && use kmod; then > linux-mod_pkg_postrm > fi > eselect opengl set --use-old xorg-x11
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 336215
:
246254
| 247137