diff options
-rw-r--r-- | graphics/opencolorio/opencolorio.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild index 8e56097df541..7051e254131a 100644 --- a/graphics/opencolorio/opencolorio.SlackBuild +++ b/graphics/opencolorio/opencolorio.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=opencolorio SRCNAM=OpenColorIO VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,6 +75,8 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION sed -i -e 's/-Wall -Wextra/-Wextra/' CMakeLists.txt +sed -i -e 's/lib$/${CMAKE_INSTALL_LIBDIR}/g' src/OpenColorIO/CMakeLists.txt +sed -i -e 's/lib$/${CMAKE_INSTALL_LIBDIR}/g' src/libutils/oglapphelpers/CMakeLists.txt chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -88,10 +90,9 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=deprecated-declarations -Wno-error=cast-function-type" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DPYTHON=python3 \ -DOCIO_BUILD_STATIC:BOOL=OFF \ - -DOCIO_BUILD_JNIGLUE:BOOL=OFF \ -DCMAKE_BUILD_TYPE=Release .. make |