aboutsummaryrefslogtreecommitdiff
path: root/development/nodejs/nodejs.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-01-26 09:39:14 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-29 07:16:46 +0700
commitc8dd934d93744155bbe2662475cbcd39d01c7e9d (patch)
tree3cc38e7be20eb695b978d6d8f4a8c747f340d085 /development/nodejs/nodejs.SlackBuild
parentc4c0d70bc1e0fd657b46b04720e9d041c47d085d (diff)
development/nodejs: Updated for version 4.2.6.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'development/nodejs/nodejs.SlackBuild')
-rw-r--r--development/nodejs/nodejs.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild
index 55d2dc40c9a06..02c0c16cd2efe 100644
--- a/development/nodejs/nodejs.SlackBuild
+++ b/development/nodejs/nodejs.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=nodejs
SRCNAM=node
-VERSION=${VERSION:-4.2.4}
+VERSION=${VERSION:-4.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,12 +58,6 @@ else
LIBDIRSUFFIX=""
fi
-SHAREDOPENSSL=""
-## use system openssl if the version number is high enough
-if [ "`openssl version | grep '1.0.2'`" ]; then
- SHAREDOPENSSL="--shared-openssl"
-fi
-
set -eu
rm -rf $PKG
@@ -91,7 +85,7 @@ sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js
./configure \
--prefix=/usr \
--shared-zlib \
- ${SHAREDOPENSSL}
+ --shared-openssl
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG