aboutsummaryrefslogtreecommitdiff
path: root/libraries/libversion
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 23:19:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:54 +0700
commit7ec2caf9baf71995123f3011fbf0b581ce0bba77 (patch)
tree4e2bb90a49a3ece47034297ba206d7815d447506 /libraries/libversion
parenta4e7e2ae51e0085efd25abb3c240404b9e59fe3a (diff)
libraries/libversion: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libversion')
-rw-r--r--libraries/libversion/libversion.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libversion/libversion.SlackBuild b/libraries/libversion/libversion.SlackBuild
index 968e972d42244..9cbdccfbf4e10 100644
--- a/libraries/libversion/libversion.SlackBuild
+++ b/libraries/libversion/libversion.SlackBuild
@@ -71,7 +71,8 @@ find -L . \
mkdir -p build
cd build
- /opt/cmake-202x/bin/cmake \
+ export "PATH=/opt/cmake-202x/bin:$PATH"
+ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..