--- usb-pwc-re-20061023.042702-r1.ebuild.orig 2008-02-12 08:06:51.000000000 -0700 +++ usb-pwc-re-20061023.042702-r1.ebuild 2008-02-12 08:04:36.000000000 -0700 @@ -29,6 +29,8 @@ S=${WORKDIR}/pwc-v4l2-${MY_PV} pkg_setup() { + linux-mod_pkg_setup + if kernel_is 2 6; then if [ "${KV_PATCH}" -ge 18 ] ; then die "In kernel ${KV_FULL} this module is deprecated by the builtin driver." @@ -42,15 +44,6 @@ epatch "${FILESDIR}/config.h.patch" } -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - eerror "${P} does not support building against kernel 2.4.x" - die "${P} does not support building against kernel 2.4.x" - fi -} - pkg_postinst() { linux-mod_pkg_postinst