Ticket #13465: patch-etc-runtime-mk

File patch-etc-runtime-mk, 1.3 KB (added by x07simbj@…, 17 years ago)
Line 
1--- etc/runtime.mk.orig 2007-12-01 00:11:53.000000000 +0100
2+++ etc/runtime.mk      2007-12-01 00:14:56.000000000 +0100
3@@ -25,18 +25,18 @@
4 install:       normal-install xtra-install
5 
6 normal-install:        rml.h librml.a $(DEBUGLIB) $(PROFLIB)
7-       $(GOROOT)/etc/mkdirhier $(PREFIX)/include/$(RMLCRUNTIME)
8-       $(GOROOT)/etc/mkdirhier $(PREFIX)/lib/$(RMLCRUNTIME)
9-       cp rml.h $(PREFIX)/include/$(RMLCRUNTIME)/rml.h
10-       cp librml.a $(PREFIX)/lib/$(RMLCRUNTIME)/librml.a
11-       $(RANLIB) $(PREFIX)/lib/$(RMLCRUNTIME)/librml.a
12+       $(GOROOT)/etc/mkdirhier $(DESTROOT)/include/$(RMLCRUNTIME)
13+       $(GOROOT)/etc/mkdirhier $(DESTROOT)/lib/$(RMLCRUNTIME)
14+       cp rml.h $(DESTROOT)/include/$(RMLCRUNTIME)/rml.h
15+       cp librml.a $(DESTROOT)/lib/$(RMLCRUNTIME)/librml.a
16+       $(RANLIB) $(DESTROOT)/lib/$(RMLCRUNTIME)/librml.a
17        if [ ! -z "$(DEBUGLIB)" ]; then \
18-               cp librml_g.a $(PREFIX)/lib/$(RMLCRUNTIME)/librml_g.a; \
19-               $(RANLIB) $(PREFIX)/lib/$(RMLCRUNTIME)/librml_g.a; \
20+               cp librml_g.a $(DESTROOT)/lib/$(RMLCRUNTIME)/librml_g.a; \
21+               $(RANLIB) $(DESTROOT)/lib/$(RMLCRUNTIME)/librml_g.a; \
22        fi
23        if [ ! -z "$(PROFLIB)" ]; then \
24-               cp librml_p.a $(PREFIX)/lib/$(RMLCRUNTIME)/librml_p.a; \
25-               $(RANLIB) $(PREFIX)/lib/$(RMLCRUNTIME)/librml_p.a; \
26+               cp librml_p.a $(DESTROOT)/lib/$(RMLCRUNTIME)/librml_p.a; \
27+               $(RANLIB) $(DESTROOT)/lib/$(RMLCRUNTIME)/librml_p.a; \
28        fi
29 
30 librml.a:      $(OBJS)