mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/thrift: Updated for version 0.9.2.
Fixes build failure with bison-3 on -current. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
a17f47e87a
commit
1e1bf4a885
2 changed files with 12 additions and 9 deletions
|
@ -17,7 +17,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
PRGNAM=thrift
|
||||
VERSION=${VERSION:-0.6.0}
|
||||
VERSION=${VERSION:-0.9.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -58,10 +58,12 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
|||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Disable unit tests: https://issues.apache.org/jira/browse/THRIFT-3249
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -74,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--without-ruby \
|
||||
--without-php \
|
||||
--without-php_extension \
|
||||
--disable-tests \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
@ -81,7 +84,7 @@ make install-strip DESTDIR=$PKG
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
CHANGES CONTRIBUTORS DISCLAIMER LICENSE NEWS NOTICE README \
|
||||
CHANGES LICENSE NOTICE README.md \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="thrift"
|
||||
VERSION="0.6.0"
|
||||
VERSION="0.9.2"
|
||||
HOMEPAGE="http://thrift.apache.org"
|
||||
DOWNLOAD="http://archive.apache.org/dist/thrift/0.6.0/thrift-0.6.0.tar.gz"
|
||||
MD5SUM="c1a9c679bc75d038ce5ef447bf6e4c75"
|
||||
DOWNLOAD="http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz"
|
||||
MD5SUM="89f63cc4d0100912f4a1f8a9dee63678"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue