diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-11-21 21:31:49 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-11-21 21:31:49 +0000 |
commit | 31da4dfdae42739d2fb0ea06f489d8fee5e055e0 (patch) | |
tree | 0e397440aab7cd05504556e63db46f452416800c /net-dialup/fcdsl | |
parent | -j1 to fix bug #71956. (Manifest recommit) (diff) | |
download | gentoo-2-31da4dfdae42739d2fb0ea06f489d8fee5e055e0.tar.gz gentoo-2-31da4dfdae42739d2fb0ea06f489d8fee5e055e0.tar.bz2 gentoo-2-31da4dfdae42739d2fb0ea06f489d8fee5e055e0.zip |
remove card detection from src_compile - try no 2
Diffstat (limited to 'net-dialup/fcdsl')
-rw-r--r-- | net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild | 21 |
1 files changed, 7 insertions, 14 deletions
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() { |