From 7a61030de52d890356ee03b78eff6d93ed3d6482 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 1 Dec 2015 16:22:13 +0700 Subject: [PATCH] mozjs: Update build parameters. Signed-off-by: Willy Sudiarto Raharjo --- mozjs/mozjs.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mozjs/mozjs.SlackBuild b/mozjs/mozjs.SlackBuild index 28f07db..14a0d2f 100644 --- a/mozjs/mozjs.SlackBuild +++ b/mozjs/mozjs.SlackBuild @@ -71,6 +71,8 @@ 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 {} \; +sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl && + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -79,8 +81,11 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --includedir=/usr/include \ --disable-tests \ - --enable-install-strip \ + --enable-threadsafe \ + --with-system-ffi \ + --with-system-nspr \ --build=$ARCH-slackware-linux make