Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/publicfile/files: publicfile-0.52-build.patch
Date: Tue, 01 Jan 2013 22:28:05
Message-Id: 20130101222739.CEEA52171E@flycatcher.gentoo.org
1 hasufell 13/01/01 22:27:39
2
3 Added: publicfile-0.52-build.patch
4 Log:
5 verbose build log wrt #430084 and respect AR/RANLIB
6
7 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
8
9 Revision Changes Path
10 1.1 www-servers/publicfile/files/publicfile-0.52-build.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/publicfile/files/publicfile-0.52-build.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/publicfile/files/publicfile-0.52-build.patch?rev=1.1&content-type=text/plain
14
15 Index: publicfile-0.52-build.patch
16 ===================================================================
17 From: Julian Ospald <hasufell@g.o>
18 Date: Tue Jan 1 22:20:05 UTC 2013
19 Subject: build system
20
21 make build output verbose
22 respext AR and RANLIB
23
24 --- Makefile
25 +++ Makefile
26 @@ -2,6 +2,9 @@
27
28 SHELL=/bin/sh
29
30 +AR ?= ar
31 +RANLIB ?= ranlib
32 +
33 default: it
34
35 alloc.a: \
36 @@ -103,6 +106,7 @@
37 compile: \
38 warn-auto.sh conf-cc
39 ( cat warn-auto.sh; \
40 + echo echo "`head -1 conf-cc`" '-c $${1+"$$@"}'; \
41 echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
42 ) > compile
43 chmod 755 compile
44 @@ -306,6 +310,8 @@
45 warn-auto.sh conf-ld
46 ( cat warn-auto.sh; \
47 echo 'main="$$1"; shift'; \
48 + echo echo "`head -1 conf-ld`" \
49 + '-o "$$main" "$$main".o $${1+"$$@"}'; \
50 echo exec "`head -1 conf-ld`" \
51 '-o "$$main" "$$main".o $${1+"$$@"}' \
52 ) > load
53 @@ -320,7 +326,8 @@
54 ( cat warn-auto.sh; \
55 echo 'main="$$1"; shift'; \
56 echo 'rm -f "$$main"'; \
57 - echo 'ar cr "$$main" $${1+"$$@"}'; \
58 + echo 'echo $(AR) cr "$$main" $${1+"$$@"}'; \
59 + echo '$(AR) cr "$$main" $${1+"$$@"}'; \
60 case "`cat systype`" in \
61 sunos-5.*) ;; \
62 unix_sv*) ;; \
63 @@ -329,7 +336,7 @@
64 dgux-*) ;; \
65 hp-ux-*) ;; \
66 sco*) ;; \
67 - *) echo 'ranlib "$$main"' ;; \
68 + *) echo 'echo $(RANLIB) "$$main"' ; echo '$(RANLIB) "$$main"' ;; \
69 esac \
70 ) > makelib
71 chmod 755 makelib