From 31da4dfdae42739d2fb0ea06f489d8fee5e055e0 Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Sun, 21 Nov 2004 21:31:49 +0000 Subject: remove card detection from src_compile - try no 2 --- net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'net-dialup') diff --git a/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild b/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild index f83fe77fe776..1de3452694e3 100644 --- a/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild +++ b/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild,v 1.2 2004/11/21 21:24:47 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild,v 1.3 2004/11/21 21:31:49 mrness Exp $ inherit kernel-mod rpm eutils @@ -78,8 +78,6 @@ pkg_setup() { die "For using the driver you need a kernel with enabled CAPI support." fi kernel-mod_check_modules_supported - - detect_fcdsl_card } src_unpack() { @@ -88,16 +86,11 @@ src_unpack() { src_compile() { set_arch_to_kernel - if [ "${FCDSL_MODULE}" == "" ]; then - for ((CARD=0; CARD < ${#FCDSL_IDS[*]}; CARD++)); do - einfo "Compiling driver for ${FCDSL_NAMES[CARD]}" - cd ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src || die "Could not change to ${FCDSL_NAMES[CARD]} source directory." - kernel-mod_src_compile || die "Could not compile driver for ${FCDSL_NAMES[CARD]}." - done - else - cd ${WORKDIR}/${FCDSL_MODULE/fc/fritz.}/src || die "Could not change to driver source directory." - kernel-mod_src_compile || die "Could not compile driver." - fi + for ((CARD=0; CARD < ${#FCDSL_IDS[*]}; CARD++)); do + einfo "Compiling driver for ${FCDSL_NAMES[CARD]}" + cd ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src || die "Could not change to ${FCDSL_NAMES[CARD]} source directory." + kernel-mod_src_compile || die "Could not compile driver for ${FCDSL_NAMES[CARD]}." + done set_arch_to_portage } @@ -151,7 +144,7 @@ pkg_postinst() { einfo " drdsl -n" einfo " nano /etc/modules.d/fcdsl" einfo " update-modules" - sleep 10 + epause 10 } readpassword() { -- cgit v1.2.3-65-gdbad