diff --git a/srcpkgs/acpica-utils/template b/srcpkgs/acpica-utils/template index c1d090d8924..0b6c5e69ad2 100644 --- a/srcpkgs/acpica-utils/template +++ b/srcpkgs/acpica-utils/template @@ -1,8 +1,9 @@ # Template file for 'acpica-utils' pkgname=acpica-utils -version=20150717 -wrksrc=acpica-unix-${version} +version=20150818 revision=1 +build_pie=yes +wrksrc="acpica-unix-${version}" only_for_archs="i686 i686-musl x86_64 x86_64-musl" hostmakedepends="flex" short_desc="Intel ACPI CA Unix utilities" @@ -10,9 +11,10 @@ homepage="https://www.acpica.org/" license="GPL-2" maintainer="Juan RP " distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz" -checksum=74c906a9b38cd0690d1bb2c53b432367bc6f7573d925b7b3b0b0c6124cf31a10 +checksum=c265fe24565d4cbfd759886e42387c5514093b28c1c1a547db77c1933b332fc8 do_build() { + ln -sfr source/tools/acpinames/AcpiNames.h source/tools/acpinames/acpinames.h sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config case "$XBPS_TARGET_MACHINE" in