aboutsummaryrefslogtreecommitdiff
path: root/development/hhvm/hhvm.SlackBuild
diff options
context:
space:
mode:
authorEugene Wissner <belka@caraus.de>2016-10-24 21:40:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-25 14:41:44 +0700
commit16496881cdb9b6ba7b276bda557573811d9a59d9 (patch)
tree7254c0ade31f063b5fd6e0988a28f50f35cd9f4e /development/hhvm/hhvm.SlackBuild
parent7545392f6e197a4114edf6fa8ae4a27331648b06 (diff)
development/hhvm: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hhvm/hhvm.SlackBuild')
-rw-r--r--development/hhvm/hhvm.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/development/hhvm/hhvm.SlackBuild b/development/hhvm/hhvm.SlackBuild
index 56edc245fbef..ffa9a2d808a0 100644
--- a/development/hhvm/hhvm.SlackBuild
+++ b/development/hhvm/hhvm.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=hhvm
VERSION=${VERSION:-3.15.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,10 +64,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -R -p1 < $CWD/http_build_query_numeric_prefix.patch
+
export CMAKE_PREFIX_PATH=`pwd`
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lreadline -lncurses" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I/usr/kerberos/include" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lncursesw" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lncursesw -I/usr/kerberos/include" \
-DCMAKE_CXX_STANDARD=14 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \