diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2003-05-05 14:07:56 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2003-05-05 14:07:56 +0000 |
commit | 846c233d206232eaf4bfc24ad503659b19a33e27 (patch) | |
tree | 12c0abe8d278a3f28e9ed75f0aae9cac1848673a /net-misc/nforce-net/nforce-net-1.0.0256.ebuild | |
parent | Fixes to address 05-05-2003 comment on bug #20008 (diff) | |
download | gentoo-2-846c233d206232eaf4bfc24ad503659b19a33e27.tar.gz gentoo-2-846c233d206232eaf4bfc24ad503659b19a33e27.tar.bz2 gentoo-2-846c233d206232eaf4bfc24ad503659b19a33e27.zip |
Fixes to address 05-05-2003 comment on bug #20008
Diffstat (limited to 'net-misc/nforce-net/nforce-net-1.0.0256.ebuild')
-rw-r--r-- | net-misc/nforce-net/nforce-net-1.0.0256.ebuild | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/net-misc/nforce-net/nforce-net-1.0.0256.ebuild b/net-misc/nforce-net/nforce-net-1.0.0256.ebuild index e7d2acc94fe4..0cd13fdddf10 100644 --- a/net-misc/nforce-net/nforce-net-1.0.0256.ebuild +++ b/net-misc/nforce-net/nforce-net-1.0.0256.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/nforce-net-1.0.0256.ebuild,v 1.1 2003/05/04 12:37:15 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/nforce-net-1.0.0256.ebuild,v 1.2 2003/05/05 14:07:39 drobbins Exp $ inherit gcc @@ -20,26 +20,13 @@ HOMEPAGE="http://www.nvidia.com/" # modules for other kernels. LICENSE="NVIDIA" SLOT="${KV}" -KEYWORDS="~x86 -ppc -sparc -alpha" +KEYWORDS="-* ~x86" DEPEND="virtual/linux-sources >=sys-apps/portage-1.9.10" -src_unpack() { - unpack ${A} - if [ `gcc-major-version` -eq 2 ] ; then - einfo "Applying gcc2 compatability patch" - cp nforce/nvnet/Makefile{,.old} - sed -e "s/-falign-functions/-malign-functions/" nforce/nvnet/Makefile.old > nforce/nvnet/Makefile - fi -} - src_compile() { # Portage should determine the version of the kernel sources check_KV - #IGNORE_CC_MISMATCH disables a sanity check that's needed when gcc has been - #updated but the running kernel is still compiled with an older gcc. This is - #needed for chrooted building, where the sanity check detects the gcc of the - #kernel outside the chroot rather than within. cd ${S}/nvnet make KERNSRC="/usr/src/linux" || die } @@ -50,7 +37,7 @@ src_install() { doins nvnet/nvnet.o # Docs - dodoc ${S}/README + dodoc ${S}/ReleaseNotes.html } pkg_postinst() { @@ -62,6 +49,8 @@ pkg_postinst() { echo einfo "You need to add \"nvnet\" to your /etc/modules.autoload to load" - einfo "this module when the system is started." + einfo "this module when the system is started. Alternatively, you can" + einfo "use the 'hotplug' package ('emerge hotplug' then 'rc-update add" + einfo "hotplug default') to auto-detect and load \"nvnet\" on startup." } |