Index: sensors-applet-2.2.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/gnome-extra/sensors-applet/sensors-applet-2.2.1.ebuild,v retrieving revision 1.4 diff -u -B -r1.4 sensors-applet-2.2.1.ebuild --- sensors-applet-2.2.1.ebuild 16 Nov 2008 16:36:55 -0000 1.4 +++ sensors-applet-2.2.1.ebuild 31 Jan 2009 12:04:07 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/sensors-applet/sensors-applet-2.2.1.ebuild,v 1.4 2008/11/16 16:36:55 flameeyes Exp $ -inherit gnome2 eutils flag-o-matic +inherit autotools gnome2 eutils DESCRIPTION="GNOME panel applet to display readings from hardware sensors" HOMEPAGE="http://sensors-applet.sourceforge.net/" @@ -40,6 +40,9 @@ $(use_with lm_sensors libsensors) \ $(use_enable libnotify)" - # Bug #221817 - use nvidia && append-ldflags -Wl,--no-as-needed + # Fix nvidia library detection, bug #221817 + if use nvidia; then + epatch "${FILESDIR}/${P}-nvidia-check.patch" + eautoreconf + fi }