Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/avahi/files: avahi-0.6.30-parallel.patch
Date: Tue, 01 May 2012 00:16:54
Message-Id: 20120501001634.75BD72004B@flycatcher.gentoo.org
1 flameeyes 12/05/01 00:16:34
2
3 Added: avahi-0.6.30-parallel.patch
4 Log:
5 Fix bug #411351 (broken parallel install with USE=utils).
6
7 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-dns/avahi/files/avahi-0.6.30-parallel.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/avahi/files/avahi-0.6.30-parallel.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/avahi/files/avahi-0.6.30-parallel.patch?rev=1.1&content-type=text/plain
14
15 Index: avahi-0.6.30-parallel.patch
16 ===================================================================
17 From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
18 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@×××××××××.eu>
19 Date: Mon, 30 Apr 2012 17:07:41 -0700
20 Subject: [PATCH] build-sys: fix parallel install in avahi-utils
21 MIME-Version: 1.0
22 Content-Type: text/plain; charset=UTF-8
23 Content-Transfer-Encoding: 8bit
24
25 The moment install-exec-local is called, we might still not have
26 created ${DESTDIR}/${bindir} so we should make sure to create it
27 first, and then try to chdir into it.
28
29 Signed-off-by: Diego Elio Pettenò <flameeyes@×××××××××.eu>
30 ---
31 avahi-utils/Makefile.am | 3 ++-
32 1 files changed, 2 insertions(+), 1 deletions(-)
33
34 diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
35 index a644b4a..1abc79a 100644
36 --- a/avahi-utils/Makefile.am
37 +++ b/avahi-utils/Makefile.am
38 @@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
39 avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
40
41 install-exec-local:
42 - cd $(DESTDIR)/$(bindir) && \
43 + $(mkdir_p) $(DESTDIR)/$(bindir) && \
44 + cd $(DESTDIR)/$(bindir) && \
45 rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
46 $(LN_S) avahi-resolve avahi-resolve-host-name && \
47 $(LN_S) avahi-resolve avahi-resolve-address && \
48 --
49 1.7.8.6