aboutsummaryrefslogtreecommitdiff
path: root/system/virt-viewer
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:54 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:16 +0200
commita68784bbe77459b8ba350f6acf6132d3a5e67eab (patch)
treea463dbd918ffca55fc6a7d5a3f6d0521c1ea249e /system/virt-viewer
parent57b57040680749a46f143b6606b3917bd1d7cf5e (diff)
system/virt-viewer: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'system/virt-viewer')
-rw-r--r--system/virt-viewer/virt-viewer.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild
index b589c2c512aa5..c286f9b6f7f65 100644
--- a/system/virt-viewer/virt-viewer.SlackBuild
+++ b/system/virt-viewer/virt-viewer.SlackBuild
@@ -70,8 +70,8 @@ cd build
--mandir=/usr/man \
--infodir=/usr/info \
--buildtype=release
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG/usr/man -type f -exec gzip -9 {} \;