summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-03 23:16:51 +0000
committerDave Woodfall <dave@slackbuilds.org>2022-03-03 23:16:51 +0000
commitb8f1c0672738d1a193a4541f807ff9e6c1826635 (patch)
tree071495d687912491453a8fa6045b4a24dd82b594 /academic
parentd686b2ba6dad195e58c7bae818e560651a7a54c1 (diff)
downloadslackbuilds-b8f1c0672738d1a193a4541f807ff9e6c1826635.tar.gz
academic/ugene: Use -std=c++11.
I also reversed some of the -Werror flags to get this to build. Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/ugene/ugene.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/ugene/ugene.SlackBuild b/academic/ugene/ugene.SlackBuild
index c33b11ecb9..6ccec594dd 100644
--- a/academic/ugene/ugene.SlackBuild
+++ b/academic/ugene/ugene.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ugene
VERSION=${VERSION:-38.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,10 +86,13 @@ find -L . \
# Fix libraries and man pages paths
sed -i "s:/lib:/lib${LIBDIRSUFFIX}:g" src/ugene_globals.pri
sed -i "s:/share/man:/man:g" src/ugene_globals.pri
+sed -i "s:Werror=maybe-uninitialized:Wno-error=maybe-uninitialized:g
+ s:Werror=uninitialized:Wno-error=uninitialized:g" \
+ src/ugene_globals.pri
qmake-qt5 $QMAKECONFIG -r \
QMAKE_CFLAGS="$SLKCFLAGS" \
-QMAKE_CXXFLAGS="$SLKCFLAGS" \
+QMAKE_CXXFLAGS="$SLKCFLAGS -std=c++11" \
UGENE_EXCLUDE_LIST_ENABLED=1
make
make install INSTALL_ROOT=$PKG