summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-04 20:51:53 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-04 20:51:53 -0400
commit5c0fa7644c3a24a5947e6c38aad5f5378f560cea (patch)
tree3cd2675bb465a8b94aeb84c8260d626be0497668 /graphics
parent05f0a7b137b28fbcaac6a2f9804f09beb439d998 (diff)
downloadslackbuilds-5c0fa7644c3a24a5947e6c38aad5f5378f560cea.tar.gz
graphics/brlcad: Fix broken symlink in doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/brlcad/brlcad.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index d9c63891a1..0a3ec395e5 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -15,6 +15,9 @@
# Modified by John Vogel <jvogel4@stny.rr.com> for build with cmake
# ... and again to fix tcl/tk breakage
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix broken symlink in doc dir.
+
# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
# Previous version wouldn't build, updated for v7.32.4, and still
# had to patch that.
@@ -25,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=brlcad
VERSION=${VERSION:-7.32.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -134,9 +137,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
cd $PKG/usr/doc/$PRGNAM-$VERSION
- for sub in doc html; do
- ln -s ../../../opt/$PRGNAM/share/$sub
- done
+ln -s ../../../opt/$PRGNAM/share/doc .
+ln -s doc/html .
cd -
mkdir -p $PKG/install