academic/labplot2: Fix double compilation.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Fellype do Nascimento 2023-08-18 06:38:16 +09:00 committed by Willy Sudiarto Raharjo
parent 8995b6d7ec
commit f86509b7b7
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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 \