From 6bdae70aaa75e13c3d36d72020591ec0d2ccec56 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 25 Aug 2015 16:05:24 +0200 Subject: [PATCH] lm_sensors: pass proper MACHINE value to fix build on arm*-musl --- srcpkgs/lm_sensors/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lm_sensors/template b/srcpkgs/lm_sensors/template index e9db24a56d0..74bf01603f8 100644 --- a/srcpkgs/lm_sensors/template +++ b/srcpkgs/lm_sensors/template @@ -1,9 +1,11 @@ # Template file for 'lm-sensors' pkgname=lm_sensors version=3.4.0 -revision=1 +revision=2 build_style=gnu-makefile -make_install_args="PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man" +make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}" +make_install_args="${make_build_args} + PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man" hostmakedepends="flex perl" depends="perl" conf_files="/etc/sensors3.conf"