diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-02-28 03:14:12 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2022-02-27 22:28:43 -0600 |
commit | 3c6e1c62a5a1e0f6098d6437c9eeea879448eb1a (patch) | |
tree | 7421640dfd8436b15679774ad4bbfddbd8a713d6 | |
parent | 82d832312e2cc392322b3c7ef7a67aad3ccc3f8d (diff) | |
download | slackbuilds-3c6e1c62a5a1e0f6098d6437c9eeea879448eb1a.tar.gz |
network/frr: Disable docs to build on 15.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
-rw-r--r-- | network/frr/frr.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/network/frr/frr.SlackBuild b/network/frr/frr.SlackBuild index a0c24d2fb4..1bc0fbc6a0 100644 --- a/network/frr/frr.SlackBuild +++ b/network/frr/frr.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=frr VERSION=${VERSION:-7.3.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,6 +96,7 @@ find -L . \ ./bootstrap.sh +# docs disabled due to no python2-sphinx CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -120,8 +121,8 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-fpm \ --enable-vtysh \ --enable-watchfrr \ - --enable-doc \ - --enable-doc-html \ + --disable-doc \ + --disable-doc-html \ --disable-systemd \ --disable-static \ --without-libpam \ @@ -144,11 +145,12 @@ sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' $PKG/usr/sbin/{frr-reload.py,g rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la rm -f $PKG/usr/lib${LIBDIRSUFFIX}/frr/modules/*.la -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# disable man and info for now +#find $PKG/usr/man -type f -exec gzip -9 {} \; +#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* +#rm -f $PKG/usr/info/dir +#gzip -9 $PKG/usr/info/*.info* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |