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 9 9 else 10 10 ifdef JS_EDITLINE 11 11 # Use the editline library, built locally. 12 @@ -370,3 +370,1 6@@ TARFILES = files `cat files`12 @@ -370,3 +370,18 @@ TARFILES = files `cat files` 13 13 SUFFIXES: .i 14 14 %.i: %.c 15 15 $(CC) -C -E $(CFLAGS) $< > $*.i … … 19 19 +BINDIR := $(PREFIX)/bin 20 20 +MY_LIBDIR := $(PREFIX)/$(LIBDIR) 21 21 +INCLUDEDIR := $(PREFIX)/include/js 22 +INSTALL := install -g 0 -o root 22 +USER := __USER__ 23 +GROUP := __GROUP__ 24 +INSTALL := install -g $(GROUP) -o $(USER) 23 25 +install: 24 26 + $(INSTALL) -m 755 -d $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(MY_LIBDIR) $(DESTDIR)$(BINDIR) 25 27 + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(DESTDIR)$(MY_LIBDIR)