diff options
Diffstat (limited to 'academic/ugene/ugene.SlackBuild')
-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 |