aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.SlackBuild3
-rw-r--r--graphics/OpenSubdiv/README3
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
index d11739926818..1a6aa7bd1ebb 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
+++ b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
@@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenSubdiv
VERSION=${VERSION:-3.5.0}
SRCVER=$(echo $VERSION | tr . _)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,6 +74,7 @@ cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
+sed -i -e '/${OPENGL_gl_LIBRARY}/a${OPENGL_glx_LIBRARY}' CMakeLists.txt
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/graphics/OpenSubdiv/README b/graphics/OpenSubdiv/README
index 3c671dc18e42..500d706797b0 100644
--- a/graphics/OpenSubdiv/README
+++ b/graphics/OpenSubdiv/README
@@ -6,4 +6,5 @@ framerates.
Additional utility is available in OpenSubdiv when the following SBo
packages are installed and detected at build time:
- tbb cudatoolkit glfw
+ tbb cudatoolkit glfw3
+