From 00860e988e2e58c73801f3e1b6f6c249de0c6731 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 14 Jul 2016 12:25:53 +0100 Subject: 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 --- graphics/FreeCAD/FreeCAD.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'graphics') 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 .. -- cgit v1.2.3