graphics/brlcad: Fix broken symlink in doc dir.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2022-04-04 20:51:53 -04:00
parent 05f0a7b137
commit 5c0fa7644c

View file

@ -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