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