Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35723 Details for
Bug 57539
emu10k1 should still install tools/scripts with 2.6 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
install tool & config files only in kernel 2.6
emu10k1.patch (text/plain), 1.26 KB, created by
Jung Tae-young
on 2004-07-18 20:14:49 UTC
(
hide
)
Description:
install tool & config files only in kernel 2.6
Filename:
MIME Type:
Creator:
Jung Tae-young
Created:
2004-07-18 20:14:49 UTC
Size:
1.26 KB
patch
obsolete
>--- emu10k1_org/emu10k1-0.20a-r5.ebuild 2004-07-19 11:33:29.682253536 +0900 >+++ emu10k1/emu10k1-0.20a-r5.ebuild 2004-07-19 12:07:43.283058760 +0900 >@@ -21,14 +21,18 @@ > > S="${WORKDIR}/${MY_P}" > >+BUILD_MODULE=0 >+ > pkg_setup() { > [ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?" >- kernel-mod_is_2_4_kernel || die "This module is only compatible with 2.4.x kernels." >+ kernel-mod_is_2_4_kernel && BUILD_MODULE=1 > > return 0 > } > > src_unpack() { >+ >+ > unpack ${A} > cd ${S} > >@@ -43,10 +47,12 @@ > > # Unset ARCH to prevent conflict with 2.6 kernels. See bug #40424 > # unset ARCH >- >- export KERNEL_SOURCE=/usr/src/linux >- make || die "make failed" >- make all || die "make all failed" >+ if [ $BUILD_MODULE -eq 1 ] >+ then >+ export KERNEL_SOURCE=/usr/src/linux >+ make || die "make failed" >+ make all || die "make all failed" >+ fi > make tools || die "make tools failed" > } > >@@ -54,8 +60,12 @@ > insinto /etc/modules.d > newins ${FILESDIR}/modules-emu10k1 emu10k1 > >- # first install the main parts >- make DESTDIR=${D} install || die "could not install" >+ if [ $BUILD_MODULE -eq 1 ] >+ then >+ # first install the main parts >+ make DESTDIR=${D} install || die "could not install" >+ fi >+ > rm -f docs/*patch > dodoc docs/* ${FILESDIR}/README.gentoo >
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 57539
: 35723