summaryrefslogtreecommitdiff
path: root/academic/xflr5/xflr5.SlackBuild
diff options
context:
space:
mode:
authorDaniel Prosser <dpross1100@msn.com>2020-01-26 07:11:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-26 07:11:20 +0700
commitf365d95b3598a22c2753feccdb359f0e37b0e661 (patch)
tree1d48d40a2524e5151922ae4e9e1773a55e60ece9 /academic/xflr5/xflr5.SlackBuild
parent89f65e847440b2c06d196be324652267db33f4da (diff)
downloadslackbuilds-f365d95b3598a22c2753feccdb359f0e37b0e661.tar.gz
academic/xflr5: Updated for version 6.47.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/xflr5/xflr5.SlackBuild')
-rw-r--r--academic/xflr5/xflr5.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild
index 5f7bfa5ccf..48a6186c63 100644
--- a/academic/xflr5/xflr5.SlackBuild
+++ b/academic/xflr5/xflr5.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xflr5
-# Copyright 2019 Daniel Prosser, Lexington Park, MD, USA
+# Copyright 2020 Daniel Prosser, Lexington Park, MD, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xflr5
-VERSION=${VERSION:-6.43}
+VERSION=${VERSION:-6.47}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/${PRGNAM}_${VERSION}_src.tar.gz
+tar xvf $CWD/${PRGNAM}_v${VERSION}_src.tar.gz
cd $PRGNAM
chown -R root:root .
find -L . \
@@ -75,6 +75,9 @@ sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRS
sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRSUFFIX}/g" \
xflr5-engine/xflr5-engine.pro
+# Fix linking
+patch -p0 < $CWD/link_directly.patch
+
qmake-qt5 \
PREFIX=/usr \
QMAKE_CFLAGS+="$SLKCFLAGS" \