diff options
Diffstat (limited to 'academic/xflr5/xflr5.SlackBuild')
-rw-r--r-- | academic/xflr5/xflr5.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild index 5f7bfa5ccfbee..48a6186c63125 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" \ |