diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2006-11-19 16:50:09 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2006-11-19 16:50:09 +0000 |
commit | 412f037147db4afb41bcc09eea4a2718faf2c019 (patch) | |
tree | 1cad47564aed3dffdb92e01e394ba5e663a3a044 /net-misc/zaptel | |
parent | Remove old versions (diff) | |
download | gentoo-2-412f037147db4afb41bcc09eea4a2718faf2c019.tar.gz gentoo-2-412f037147db4afb41bcc09eea4a2718faf2c019.tar.bz2 gentoo-2-412f037147db4afb41bcc09eea4a2718faf2c019.zip |
Applied a patch to make it compile on kernel 2.4, thanks to Nico Baggus for bug 155604.
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'net-misc/zaptel')
-rw-r--r-- | net-misc/zaptel/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/zaptel/zaptel-1.2.11.ebuild | 22 |
2 files changed, 21 insertions, 7 deletions
diff --git a/net-misc/zaptel/ChangeLog b/net-misc/zaptel/ChangeLog index ef34cbbf4545..f77f9e5f7cdb 100644 --- a/net-misc/zaptel/ChangeLog +++ b/net-misc/zaptel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/zaptel # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/ChangeLog,v 1.84 2006/11/17 18:20:35 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/ChangeLog,v 1.85 2006/11/19 16:50:09 drizzt Exp $ + + 19 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> zaptel-1.2.11.ebuild: + Applied a patch to make it compile on kernel 2.4, thanks to Nico Baggus for + bug 155604. *zaptel-1.2.11 (17 Nov 2006) diff --git a/net-misc/zaptel/zaptel-1.2.11.ebuild b/net-misc/zaptel/zaptel-1.2.11.ebuild index 4b3f22c9c737..aba34c901218 100644 --- a/net-misc/zaptel/zaptel-1.2.11.ebuild +++ b/net-misc/zaptel/zaptel-1.2.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.11.ebuild,v 1.1 2006/11/17 18:20:35 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.11.ebuild,v 1.2 2006/11/19 16:50:09 drizzt Exp $ inherit toolchain-funcs eutils linux-mod @@ -83,11 +83,20 @@ pkg_setup() { einfo "Running pre-flight checks..." # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) + if kernel_is 2 4 ; then + if ! linux_chkconfig_present CRC32; then + echo + eerror "Your kernel lacks CRC32 support!" + eerror "Enable CONFIG_CRC32!" + result=$((result+1)) + fi + else + if ! linux_chkconfig_present CRC_CCITT; then + echo + eerror "Your kernel lacks CRC_CCIT support!" + eerror "Enable CONFIG_CRC_CCIT!" + result=$((result+1)) + fi fi # check if multiple echo cancellers have been selected @@ -257,6 +266,7 @@ src_compile() { } src_install() { + kernel_is 2 4 && cp /etc/modules.conf ${D}/etc make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ KVERS=${KV_FULL} KSRC=/usr/src/linux install || die |