# ChangeLog for sys-power/cpufrequtils
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.23 2006/06/01 12:02:01 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.24 2006/06/05 08:56:59 brix Exp $
+
+ 05 Jun 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +files/cpufrequtils-002-parallel-make.patch, cpufrequtils-002.ebuild:
+ Fix compilation with parallel make, bug #135521.
*cpufrequtils-002 (01 Jun 2006)
-MD5 cfbf11e09c0dd09544675e6debcc0d44 ChangeLog 3686
+MD5 728cda77fdaf38f58da6c711f64a58ef ChangeLog 3864
MD5 807a7ffb13cf26d5259c3ef3e2e59996 cpufrequtils-0.4.ebuild 987
MD5 14ab7af6c60913f5d0403bfbddd3f586 cpufrequtils-001.ebuild 1241
-MD5 308e8d73160e11e3f20e516ec4d638a9 cpufrequtils-002.ebuild 1117
+MD5 0532996c01c983c521314c311c379a81 cpufrequtils-002.ebuild 1210
MD5 ff862256db38dcc1f5d3a5f86f29edb2 files/cpufrequtils-0.4-conf.d 230
MD5 b8286b5cd3a2b122ace8f1a66c08fd67 files/cpufrequtils-0.4-init.d 498
MD5 ff862256db38dcc1f5d3a5f86f29edb2 files/cpufrequtils-001-conf.d 230
MD5 b68d94133a48be4c8c9d274a4941b3ae files/cpufrequtils-001-init.d 496
MD5 ff862256db38dcc1f5d3a5f86f29edb2 files/cpufrequtils-002-conf.d 230
MD5 297490bc478b653dbde74af15771de10 files/cpufrequtils-002-init.d 618
+MD5 ec29a9a54ad27491e0e26ef277c13441 files/cpufrequtils-002-parallel-make.patch 580
MD5 555ad680b73f0cd099e9c2e81d24cf9b files/digest-cpufrequtils-0.4 69
MD5 706022fe8ddcdddc2bf9a140c6a48d23 files/digest-cpufrequtils-001 68
MD5 0073e9b2090ae842a6fd4c4396f1fd4e files/digest-cpufrequtils-002 68
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-002.ebuild,v 1.1 2006/06/01 12:02:01 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-002.ebuild,v 1.2 2006/06/05 08:56:59 brix Exp $
-inherit toolchain-funcs multilib
+inherit eutils toolchain-funcs multilib
DESCRIPTION="Userspace utilities for the Linux kernel cpufreq subsystem"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
IUSE="debug nls"
DEPEND="sys-fs/sysfsutils"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-parallel-make.patch
+}
+
src_compile() {
local debug=false nls=false
--- /dev/null
+diff -urp cpufrequtils-002/Makefile cpufrequtils-002-parallel-make/Makefile
+--- cpufrequtils-002/Makefile 2006-06-01 10:54:41.000000000 +0200
++++ cpufrequtils-002-parallel-make/Makefile 2006-06-05 00:14:53.000000000 +0200
+@@ -189,7 +189,7 @@ libcpufreq.la: $(LIB_OBJS) $(LIB_HEADERS
+
+ libcpufreq: libcpufreq.la
+
+-cpufreq-%: $(UTIL_OBJS)
++cpufreq-%: libcpufreq.la $(UTIL_OBJS)
+ $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g -I. -I./lib/ -c -o utils/$@.o utils/$*.c
+ $(QUIET) $(CC) $(CFLAGDEF) $(CFLAGS) -g -I./lib/ -L. -L./.libs/ -lcpufreq -o $@ utils/$@.o
+ $(QUIET) $(STRIPCMD) $@