summaryrefslogtreecommitdiff
path: root/development/nodejs/nodejs.SlackBuild
diff options
context:
space:
mode:
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 55d2dc40c9..02c0c16cd2 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