public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dns/avahi/files: avahi-0.6.30-parallel.patch
@ 2012-05-01  0:16 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2012-05-01  0:16 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/05/01 00:16:34

  Added:                avahi-0.6.30-parallel.patch
  Log:
  Fix bug #411351 (broken parallel install with USE=utils).
  
  (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-dns/avahi/files/avahi-0.6.30-parallel.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/avahi/files/avahi-0.6.30-parallel.patch?rev=1.1&view=markup
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

Index: avahi-0.6.30-parallel.patch
===================================================================
From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Mon, 30 Apr 2012 17:07:41 -0700
Subject: [PATCH] build-sys: fix parallel install in avahi-utils
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The moment install-exec-local is called, we might still not have
created ${DESTDIR}/${bindir} so we should make sure to create it
first, and then try to chdir into it.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
 avahi-utils/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
index a644b4a..1abc79a 100644
--- a/avahi-utils/Makefile.am
+++ b/avahi-utils/Makefile.am
@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
 avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
 
 install-exec-local:
-	cd $(DESTDIR)/$(bindir) && \
+	$(mkdir_p) $(DESTDIR)/$(bindir) && \
+		cd $(DESTDIR)/$(bindir) && \
 		rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
 		$(LN_S) avahi-resolve avahi-resolve-host-name && \
 		$(LN_S) avahi-resolve avahi-resolve-address && \
-- 
1.7.8.6







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-01  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01  0:16 [gentoo-commits] gentoo-x86 commit in net-dns/avahi/files: avahi-0.6.30-parallel.patch Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox