aboutsummaryrefslogtreecommitdiff
path: root/libraries/libosinfo
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:51 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:12 +0200
commitf92ce597d78ba04d9e0e0600e9bbe2a6cd64e41d (patch)
tree199c2c62172ea3ea904e3241504da81ce975fb18 /libraries/libosinfo
parent74b200408da38b3a89ca73f6a52d04bed5b37439 (diff)
libraries/libosinfo: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libosinfo')
-rw-r--r--libraries/libosinfo/libosinfo.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libosinfo/libosinfo.SlackBuild b/libraries/libosinfo/libosinfo.SlackBuild
index cce73263b2f7b..a8d33f0bc7176 100644
--- a/libraries/libosinfo/libosinfo.SlackBuild
+++ b/libraries/libosinfo/libosinfo.SlackBuild
@@ -85,8 +85,8 @@ cd build
--sysconfdir=/etc \
-D with-usb-ids-path=/usr/share/hwdata/usb.ids \
-D with-pci-ids-path=/usr/share/hwdata/pci.ids
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \