summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-10 01:34:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:44:55 +0700
commit27a4bd21fc17735edd93f63ce70c3f818c1b0655 (patch)
tree14465123b1b095c948c292ead1d883d75ab00923 /academic
parent232c90f7f016e988f0849ae0acf1b9282d5e9759 (diff)
downloadslackbuilds-27a4bd21fc17735edd93f63ce70c3f818c1b0655.tar.gz
academic/cadabra2: Do not use hardcoded path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/cadabra2/cadabra2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild
index b2c66c9cab..25bb7164aa 100644
--- a/academic/cadabra2/cadabra2.SlackBuild
+++ b/academic/cadabra2/cadabra2.SlackBuild
@@ -92,7 +92,8 @@ find ./ -type f -name '*.py' -exec \
mkdir -p build
cd build
- /opt/cmake-202x/bin/cmake \
+ export "PATH=/opt/cmake-202x/bin:$PATH"
+ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \