From 4fa8f072dd6f2c4cb5391461ab22ebab9773ab24 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 15 Mar 2015 17:40:56 +0100 Subject: [PATCH] pciutils: fix musl build. --- srcpkgs/pciutils/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pciutils/template b/srcpkgs/pciutils/template index 464a263fdfa..a5eb063989a 100644 --- a/srcpkgs/pciutils/template +++ b/srcpkgs/pciutils/template @@ -1,7 +1,7 @@ # Template file for 'pciutils' pkgname=pciutils version=3.3.0 -revision=5 +revision=6 hostmakedepends="pkg-config" makedepends="zlib-devel libkmod-devel" depends="hwids" @@ -16,13 +16,13 @@ build_pie=yes do_build() { make OPT="${CFLAGS}" SHARED=no AR=${AR} \ RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \ - HOST=${XBPS_TARGET_MACHINE}-none-linux ZLIB=yes \ + HOST=${XBPS_TARGET_MACHINE%-musl}-none-linux ZLIB=yes \ SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all cp lib/libpci.a ${XBPS_MASTERDIR}/tmp make clean make OPT="${CFLAGS}" SHARED=yes AR=${AR} \ RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \ - HOST=${XBPS_TARGET_MACHINE}-none-linux ZLIB=yes \ + HOST=${XBPS_TARGET_MACHINE%-musl}-none-linux ZLIB=yes \ SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all }