summaryrefslogtreecommitdiff
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
commit1f6b584b28091a2dfdae0396714c2efacd7d6926 (patch)
treefd43dcfbe35f9c55d4ee3fe7f00010e742c6c0a7
parent57784a7230fd28d92b7d837b8d1c277afefde897 (diff)
downloadslackbuilds-1f6b584b28091a2dfdae0396714c2efacd7d6926.tar.gz
libraries/libportal: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--libraries/libportal/libportal.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libportal/libportal.SlackBuild b/libraries/libportal/libportal.SlackBuild
index eff304fa92..04a3df299f 100644
--- a/libraries/libportal/libportal.SlackBuild
+++ b/libraries/libportal/libportal.SlackBuild
@@ -83,8 +83,8 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc
- 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 \