cpufrequtils: unbreak musl builds.

This commit is contained in:
Juan RP 2015-05-18 18:14:42 +02:00
parent 6141411754
commit a15bdbda80
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cpufrequtils'
pkgname=cpufrequtils
version=008
revision=7
revision=8
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
homepage="ftp://ftp.archlinux.org/other/cpufrequtils/"
license="GPL-2"
@ -12,6 +12,9 @@ checksum=1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
do_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+=" -lintl";;
esac
make CC=$CC CFLAGS="$CFLAGS" STRIP=true
}
do_install() {