summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-22 20:36:04 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 15:36:49 -0500
commitc5b9b9079e28126070d7993adb57abf6de01a4d0 (patch)
tree12bfc868a039191a87c84f0e33a52c041fe9b5d4 /libraries
parent072a450e39ce3aebf52f5ac345cdaabeb30967ea (diff)
downloadslackbuilds-c5b9b9079e28126070d7993adb57abf6de01a4d0.tar.gz
libraries/openbabel: Fix build with gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/openbabel/openbabel.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild
index 638623cdb0..10b9f4d19f 100644
--- a/libraries/openbabel/openbabel.SlackBuild
+++ b/libraries/openbabel/openbabel.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=openbabel
VERSION=2.3.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,7 +71,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \