extra/cpufreqd: add -lpthread to main app

pthreads are used in the plugins so we need to link with pthread from
main app. This seems to be an uclibc "feature".
This commit is contained in:
Natanael Copa 2009-05-26 08:32:05 +00:00
parent ec506e2904
commit b58b88cc39

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cpufreqd
pkgver=2.3.4
pkgrel=0
pkgrel=1
pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)"
url="http://sourceforge.net/projects/cpufreqd"
license="GPL2"
@ -17,7 +17,7 @@ build ()
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc
make || return 1
make LIBS=-lpthread || return 1
make DESTDIR="$pkgdir" install
install -Dm 755 ../cpufreqd.initd "$pkgdir"/etc/init.d/cpufreqd \
|| return 1