summaryrefslogtreecommitdiffstats
path: root/network/thrift/thrift.SlackBuild
diff options
context:
space:
mode:
author David Spencer2015-08-03 20:47:09 +0200
committer Willy Sudiarto Raharjo2016-01-17 03:40:16 +0100
commit1e1bf4a88535ad4712d6fb4bfdb96b901c41b776 (patch)
tree4adea77e0caa81019e7022264cc60d7a746c49e2 /network/thrift/thrift.SlackBuild
parenta17f47e87a395184e8c5bb5cb6185f20a969acb4 (diff)
downloadslackbuilds-1e1bf4a88535ad4712d6fb4bfdb96b901c41b776.tar.gz
network/thrift: Updated for version 0.9.2.
Fixes build failure with bison-3 on -current. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/thrift/thrift.SlackBuild')
-rw-r--r--network/thrift/thrift.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/network/thrift/thrift.SlackBuild b/network/thrift/thrift.SlackBuild
index 81135d111e..f76fb6b52c 100644
--- a/network/thrift/thrift.SlackBuild
+++ b/network/thrift/thrift.SlackBuild
@@ -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