1 This quick'n'dirty patch enables relatively painless SpiderMonkey installation.
2 See doc/ecmascript.txt for details.
4 diff -ru js-1.5-rc6a/src/config.mk js-1.5-rc6a+elinks/src/config.mk
5 --- js-1.5-rc6a/src/config.mk Sat Nov 15 01:10:55 2003
6 +++ js-1.5-rc6a+elinks/src/config.mk Wed Sep 22 16:32:12 2004
9 # ***** END LICENSE BLOCK *****
13 +PREFIX = /opt/spidermonkey
19 -DIST = $(DEPTH)/../../dist/$(OBJDIR)
23 # Set os+release dependent make variables
24 diff -ru js-1.5-rc6a/src/jsconfig.mk js-1.5-rc6a+elinks/src/jsconfig.mk
25 --- js-1.5-rc6a/src/jsconfig.mk Sat Nov 15 01:10:56 2003
26 +++ js-1.5-rc6a+elinks/src/jsconfig.mk Wed Sep 22 16:34:28 2004
28 echo $(NSPR_VERSION) > $(NSPR_VERSIONFILE)
31 -SHIP_DIST = $(MOZ_DEPTH)/dist/$(OBJDIR)
32 -SHIP_DIR = $(SHIP_DIST)/SHIP
36 SHIP_LIBS = libjs.$(SO_SUFFIX) libjs.a
39 SHIP_LIBS += jsj.dll jsj.lib
42 -SHIP_LIBS += $(LCJAR)
43 +#SHIP_LIBS += $(LCJAR)
44 SHIP_LIBS := $(addprefix $(SHIP_DIST)/lib/, $(SHIP_LIBS))
46 SHIP_INCS = js*.h prmjtime.h resource.h *.msg *.tbl
48 JSREFJAR = jsref_dbg.jar
53 + mkdir -p $(SHIP_DIR)/$(LIBDIR)
54 + mkdir -p $(SHIP_DIR)/include
55 + mkdir -p $(SHIP_DIR)/bin
56 + cp $(SHIP_LIBS) $(SHIP_DIR)/$(LIBDIR)
57 + cp $(SHIP_INCS) $(SHIP_DIR)/include
58 + cp $(SHIP_BINS) $(SHIP_DIR)/bin
61 mkdir -p $(SHIP_DIR)/$(LIBDIR)