From bcc692d8b8491cccdc31147ebd9aaf832b5cafae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Mon, 7 Mar 2016 16:20:29 +0200 Subject: [PATCH] sync with lfs build --- system/base/spidermonkey/actions.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/system/base/spidermonkey/actions.py b/system/base/spidermonkey/actions.py index ff3d8527..1cef1868 100644 --- a/system/base/spidermonkey/actions.py +++ b/system/base/spidermonkey/actions.py @@ -8,19 +8,24 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools -WorkDir = "mozjs%s/js/src" % get.srcVERSION() +#WorkDir = "mozjs%s/js/src" % get.srcVERSION() def setup(): - autotools.configure("--enable-jemalloc \ - --enable-readline \ + shelltools.cd("js/src") + shelltools.system("sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl ") + + autotools.configure("--prefix=/usr \ + --enable-readline \ --enable-threadsafe \ - --with-system-nspr \ - --enable-system-ffi ") + --with-system-ffi \ + --with-system-nspr") def build(): + shelltools.cd("js/src") autotools.make() def install(): + shelltools.cd("js/src") autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("README*") \ No newline at end of file + pisitools.dodoc("README*")