diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-07 13:02:51 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-07 13:02:51 +0000 |
commit | 771827aae579e48b7991b4f88263bfd851cc9367 (patch) | |
tree | dffdc53f0210115be12824415f1e9db5b7ba7fc1 /kde-base/ksysguard | |
parent | Add patch to properly respect USE flags (#81966, #92433). (diff) | |
download | gentoo-2-771827aae579e48b7991b4f88263bfd851cc9367.tar.gz gentoo-2-771827aae579e48b7991b4f88263bfd851cc9367.tar.bz2 gentoo-2-771827aae579e48b7991b4f88263bfd851cc9367.zip |
Add patch to properly respect USE flags (#81966).
(Portage version: 2.0.51.19)
Diffstat (limited to 'kde-base/ksysguard')
-rw-r--r-- | kde-base/ksysguard/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/ksysguard/files/digest-ksysguard-3.4.1-r1 | 3 | ||||
-rw-r--r-- | kde-base/ksysguard/files/kdebase-3.4.1-configure.patch | 37 | ||||
-rw-r--r-- | kde-base/ksysguard/ksysguard-3.4.1-r1.ebuild | 20 |
4 files changed, 67 insertions, 1 deletions
diff --git a/kde-base/ksysguard/ChangeLog b/kde-base/ksysguard/ChangeLog index 13640f947d74..5b8461a9b599 100644 --- a/kde-base/ksysguard/ChangeLog +++ b/kde-base/ksysguard/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/ksysguard # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/ksysguard/ChangeLog,v 1.13 2005/05/25 21:23:12 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/ksysguard/ChangeLog,v 1.14 2005/06/07 13:02:51 greg_g Exp $ + +*ksysguard-3.4.1-r1 (07 Jun 2005) + + 07 Jun 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/kdebase-3.4.1-configure.patch, +ksysguard-3.4.1-r1.ebuild: + Add patch to properly respect USE flags (#81966). *ksysguard-3.4.1 (25 May 2005) diff --git a/kde-base/ksysguard/files/digest-ksysguard-3.4.1-r1 b/kde-base/ksysguard/files/digest-ksysguard-3.4.1-r1 new file mode 100644 index 000000000000..518952ccb74d --- /dev/null +++ b/kde-base/ksysguard/files/digest-ksysguard-3.4.1-r1 @@ -0,0 +1,3 @@ +MD5 c88659e558ca98dc45377bf8ddfc26c9 kdebase-3.4.0.tar.bz2 22670772 +MD5 3b99262a66edd3c9ad86220ad6cf6579 kdebase-3.4.0-3.4.1.tar.xdelta 1089415 +MD5 8fbe0b943721b79f2549064b580acdde kdebase-3.4.1.tar.bz2 22433034 diff --git a/kde-base/ksysguard/files/kdebase-3.4.1-configure.patch b/kde-base/ksysguard/files/kdebase-3.4.1-configure.patch new file mode 100644 index 000000000000..9bc10ebbf56f --- /dev/null +++ b/kde-base/ksysguard/files/kdebase-3.4.1-configure.patch @@ -0,0 +1,37 @@ +Index: ksysguard/configure.in.in +=================================================================== +--- ksysguard/configure.in.in (revision 420060) ++++ ksysguard/configure.in.in (working copy) +@@ -23,17 +23,27 @@ + AM_CONDITIONAL(include_ksysguardd_openbsd, test "$UNAME" = OpenBSD) + AC_SUBST(UNAME) + +-KDE_CHECK_LIB(sensors, sensors_init, [LIBSENSORS="-lsensors"]) +-AC_SUBST(LIBSENSORS) ++AC_ARG_WITH(sensors, ++ [AS_HELP_STRING(--with-sensors, ++ [enable support for lm_sensors @<:@default=check@:>@])], ++ [], with_sensors=check) + +-dnl Check for dell laptop support +-AM_CONDITIONAL(supports_i8k, test -f /proc/i8k) ++if test "x$with_sensors" != xno; then ++ KDE_CHECK_HEADERS(sensors/sensors.h) ++ KDE_CHECK_LIB(sensors, sensors_init, [LIBSENSORS="-lsensors"]) + ++ if test "x$with_readline" != xcheck && test -z "$LIBSENSORS"; then ++ AC_MSG_FAILURE([--with-sensors was given, but test for lm_sensors failed]) ++ fi ++fi ++ + case "$UNAME" in + Linux) LIBHOSTS="$LIBSENSORS" ;; + FreeBSD) LIBHOSTS="$LIBSENSORS -lkvm" ;; + Solaris) LIBHOSTS="$LIBSENSORS -lkstat -lsocket" ;; + esac + AC_SUBST(LIBHOSTS) ++AC_SUBST(LIBSENSORS) + +-KDE_CHECK_HEADERS(sensors/sensors.h) ++dnl Check for dell laptop support ++AM_CONDITIONAL(supports_i8k, test -f /proc/i8k) diff --git a/kde-base/ksysguard/ksysguard-3.4.1-r1.ebuild b/kde-base/ksysguard/ksysguard-3.4.1-r1.ebuild new file mode 100644 index 000000000000..37ea2856db87 --- /dev/null +++ b/kde-base/ksysguard/ksysguard-3.4.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/ksysguard/ksysguard-3.4.1-r1.ebuild,v 1.1 2005/06/07 13:02:51 greg_g Exp $ + +KMNAME=kdebase +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="KDE System Guard" +KEYWORDS="~x86 ~amd64 ~ppc64 ~ppc ~sparc" +IUSE="lm_sensors" +DEPEND="lm_sensors? ( sys-apps/lm_sensors )" + +PATCHES="${FILESDIR}/kdebase-3.4.1-configure.patch" + +src_compile() { + myconf="$myconf `use_with lm_sensors sensors`" + kde-meta_src_compile +} |