mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/frr: Disable docs to build on 15.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
parent
82d832312e
commit
3c6e1c62a5
1 changed files with 9 additions and 7 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue