diff --git a/srcpkgs/cpufrequtils/template b/srcpkgs/cpufrequtils/template index 36f40c8195e..dbc9fa9eb20 100644 --- a/srcpkgs/cpufrequtils/template +++ b/srcpkgs/cpufrequtils/template @@ -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() {