diff options
author | Fellype do Nascimento <fellype@gmail.com> | 2023-08-18 06:38:16 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-19 09:15:16 +0700 |
commit | f86509b7b7864b69048fec467131e659b205d317 (patch) | |
tree | 4b83930f6f4d1b5f8711b90ca9adb5a758796abd /academic | |
parent | 8995b6d7ec2ca653a02ebffb9e441e503046af48 (diff) |
academic/labplot2: Fix double compilation.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/labplot2/labplot2.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/academic/labplot2/labplot2.SlackBuild b/academic/labplot2/labplot2.SlackBuild index 2749f283aaf36..a4b4946d00280 100644 --- a/academic/labplot2/labplot2.SlackBuild +++ b/academic/labplot2/labplot2.SlackBuild @@ -28,7 +28,7 @@ NAME=labplot PRGNAM=labplot2 VERSION=${VERSION:-2.10.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,10 +82,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./compile - +mkdir build ( cd build/ -cmake ./ -DCMAKE_INSTALL_PREFIX=/usr \ +cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ |