From 1349d286fb860584c83c0b99a7573aaf327e6fbe Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 22 Aug 2022 15:34:56 -0400 Subject: [PATCH] lm_sensors: remove unnecessary PREFIX=, clean up --- srcpkgs/lm_sensors/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/lm_sensors/template b/srcpkgs/lm_sensors/template index 10d2a8fd961..f8447a2ebe8 100644 --- a/srcpkgs/lm_sensors/template +++ b/srcpkgs/lm_sensors/template @@ -5,8 +5,7 @@ revision=1 wrksrc="${pkgname/_/-}-${version//./-}" build_style=gnu-makefile make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}" -make_install_args="${make_build_args} PREFIX=/usr SBINDIR=/usr/bin - MANDIR=/usr/share/man" +make_install_args="${make_build_args} SBINDIR=/usr/bin MANDIR=/usr/share/man" hostmakedepends="flex perl which" depends="perl" short_desc="Utilities to read temperature/voltage/fan sensors" @@ -18,7 +17,7 @@ checksum=0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197 conf_files="/etc/sensors3.conf" -pre_build() { +post_patch() { vsed -e 's,CC :=,CC ?=,' -i Makefile }