Bug 164754 - sys-fs/dazuko-2.3.3_pre1 compile fails w/ kernel-2.4.x
Bug#: 164754 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: alonbl@gentoo.org Reported By: f.mensik@tiscali.cz
Component: Ebuilds
URL: 
Summary: sys-fs/dazuko-2.3.3_pre1 compile fails w/ kernel-2.4.x
Keywords:  
Status Whiteboard: 
Opened: 2007-01-31 22:39 0000
Description:   Opened: 2007-01-31 22:39 0000
dazuko-2.3.3_pre1.ebuild

Reproducible: Always




here's my patch:

--- dazuko-2.3.3_pre1.ebuild_orig       2007-01-19 20:31:09.000000000 +0100
+++ dazuko-2.3.3_pre1.ebuild    2007-01-31 22:08:54.000000000 +0100
@@ -17,9 +17,13 @@
 S="${WORKDIR}/${MY_P}"

 # kernel settings
-CONFIG_CHECK="SECURITY_CAPABILITIES"
+if kernel_is le 2 4; then
+       BUILD_TARGETS="all"
+else
+       CONFIG_CHECK="SECURITY_CAPABILITIES"
+       BUILD_TARGETS="dummy_rule"
+fi
 MODULE_NAMES="dazuko(misc:)"
-BUILD_TARGETS="dummy_rule"

 pkg_setup() {
        [ "${KERNEL}" = "linux" ] && linux-mod_pkg_setup

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-01-31 22:50:53 0000 -------
Why on earth do you use 2.4?!?!?
Fixed... :)

------- Comment #2 From f.mensik 2007-02-01 10:12:41 0000 -------
(In reply to comment #1)
> Why on earth do you use 2.4?!?!?
> Fixed... :)
> 
nostalgia