aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-07-14 12:25:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-17 07:49:55 +0700
commit00860e988e2e58c73801f3e1b6f6c249de0c6731 (patch)
tree85eea4e0b7ba5c41ff9233bf58fba08728c1643d /graphics
parent6189c21842313258a5f6e43fdb880423f77141c4 (diff)
graphics/FreeCAD: Fix build with OpenCASCADE libs in /usr.
This fixes the problem importing DXF which was reported on LQ. Thanks to enine. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index e87e839e63cb..77babb3a7c13 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=FreeCAD
VERSION=${VERSION:-0.16}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,11 +80,9 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DOCC_INCLUDE_DIR:PATH=/opt/OpenCASCADE/inc \
- -DOCC_LIBRARY:PATH=/opt/OpenCASCADE/lib${LIBDIRSUFFIX} \
- -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/opt/OpenCASCADE/lib${LIBDIRSUFFIX}" \
+ -DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \
-DRESOURCEDIR=/opt/$PRGNAM/share/data \
-DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release ..