Ticket #12480: spidermonkey-1.5-build.patch.diff

File spidermonkey-1.5-build.patch.diff, 804 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago)
  • files/spidermonkey-1.5-build.patch

    old new  
    99 else
    1010 ifdef JS_EDITLINE
    1111 # Use the editline library, built locally.
    12 @@ -370,3 +370,16 @@ TARFILES = files `cat files`
     12@@ -370,3 +370,18 @@ TARFILES = files `cat files`
    1313 SUFFIXES: .i
    1414 %.i: %.c
    1515        $(CC) -C -E $(CFLAGS) $< > $*.i
     
    1919+BINDIR := $(PREFIX)/bin
    2020+MY_LIBDIR := $(PREFIX)/$(LIBDIR)
    2121+INCLUDEDIR := $(PREFIX)/include/js
    22 +INSTALL := install -g 0 -o root
     22+USER := __USER__
     23+GROUP := __GROUP__
     24+INSTALL := install -g $(GROUP) -o $(USER)
    2325+install:
    2426+       $(INSTALL) -m 755 -d $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(MY_LIBDIR) $(DESTDIR)$(BINDIR)
    2527+       $(INSTALL) -m 755 $(SHARED_LIBRARY) $(DESTDIR)$(MY_LIBDIR)