diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-03 23:16:51 +0000 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2022-03-03 23:16:51 +0000 |
commit | b8f1c0672738d1a193a4541f807ff9e6c1826635 (patch) | |
tree | 071495d687912491453a8fa6045b4a24dd82b594 /academic | |
parent | d686b2ba6dad195e58c7bae818e560651a7a54c1 (diff) |
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.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/ugene/ugene.SlackBuild b/academic/ugene/ugene.SlackBuild index c33b11ecb99e6..6ccec594dd0e8 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 |