summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-08-15 18:02:28 +0000
committerAlin Năstac <mrness@gentoo.org>2006-08-15 18:02:28 +0000
commit6c5ad4b3cdc15625785e5f765edb26a8b74c0215 (patch)
tree2846143de4a92446c3739e4b441937d791c81ae1 /net-dialup
parentfix typo; add 3 local USE flags for net-dialup/bewan-adsl. (diff)
downloadgentoo-2-6c5ad4b3cdc15625785e5f765edb26a8b74c0215.tar.gz
gentoo-2-6c5ad4b3cdc15625785e5f765edb26a8b74c0215.tar.bz2
gentoo-2-6c5ad4b3cdc15625785e5f765edb26a8b74c0215.zip
Remove abused doc USE flag. Add 3 local USE flags which enables workarounds and optimizations, thanks to Sebastián González <sgm@acm.org> (#142401).
(Portage version: 2.1-r2)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/bewan-adsl/ChangeLog6
-rw-r--r--net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild25
-rw-r--r--net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r12
3 files changed, 21 insertions, 12 deletions
diff --git a/net-dialup/bewan-adsl/ChangeLog b/net-dialup/bewan-adsl/ChangeLog
index f0576e5d9199..a10d01b59127 100644
--- a/net-dialup/bewan-adsl/ChangeLog
+++ b/net-dialup/bewan-adsl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/bewan-adsl
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.9 2006/05/14 07:22:54 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.10 2006/08/15 18:02:28 mrness Exp $
+
+ 15 Aug 2006; Alin Nastac <mrness@gentoo.org> bewan-adsl-0.9.3-r1.ebuild:
+ Remove abused doc USE flag. Add 3 local USE flags which enables workarounds
+ and optimizations, thanks to Sebastián González <sgm@acm.org> (#142401).
14 May 2006; Alin Nastac <mrness@gentoo.org>
-files/bewan-adsl-kill-timeout.patch, metadata.xml,
diff --git a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild
index 5df4f51ca98f..f900be3c1621 100644
--- a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild
+++ b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.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-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild,v 1.2 2006/03/12 08:28:00 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild,v 1.3 2006/08/15 18:02:28 mrness Exp $
inherit eutils linux-mod
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.bewan.com/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-IUSE="usb doc"
+IUSE="usb pcitimer slowpcibridge kt400"
DEPEND="virtual/linux-sources"
RDEPEND=""
@@ -39,6 +39,11 @@ src_unpack() {
# Upstream consider actual version to be thread safe
epatch "${FILESDIR}/${P}-smp.patch"
+ # Declare desired COPTIONS in the Makefile for the PCI module
+ use kt400 && sed -i 's/^\(COPTIONS *= *\)/\1 -DKT400/g' "${PCI_S}/Makefile"
+ use pcitimer && sed -i 's/^\(COPTIONS *= *\)/\1 -DUSE_HW_TIMER/g' "${PCI_S}/Makefile"
+ use slowpcibridge && sed -i 's/^\(COPTIONS *= *\)/\1 -DPCI_BRIDGE_WORKAROUND/g' "${PCI_S}/Makefile"
+
# Fix up broken Makefiles
convert_to_m "${PCI_S}/Makefile"
use usb && convert_to_m "${USB_S}/Makefile"
@@ -70,15 +75,13 @@ src_install() {
die "Cannot install unicorntest"
doman "${S}/Documentation/unicorntest.8"
- if use doc; then
- #Install documantation
- cd "${S}"
- dodoc README
- docinto RFCs
- dodoc RFCs/*
- docinto scripts
- dodoc scripts/*
- fi
+ #Install documantation
+ cd "${S}"
+ dodoc README
+ docinto RFCs
+ dodoc RFCs/*
+ docinto scripts
+ dodoc scripts/*
}
pkg_postinst() {
diff --git a/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r1 b/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r1
index 9dd6e6317c42..668a91292416 100644
--- a/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r1
+++ b/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r1
@@ -1 +1,3 @@
MD5 ff9829f03168279a079d05aea780ee99 A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291
+RMD160 50cd3201b05e931e541bd9a2dc4711c1ac044ec8 A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291
+SHA256 48a789f7ef026248a4a666ff5da952ef458d1a1ae7a7bc162a6d01e0ac38a954 A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291