public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/spice-gtk/files: 0001-build-sys-fix-out-of-tree-build-with-vala.patch
@ 2013-01-25 22:27 Doug Goldstein (cardoe)
  0 siblings, 0 replies; only message in thread
From: Doug Goldstein (cardoe) @ 2013-01-25 22:27 UTC (permalink / raw
  To: gentoo-commits

cardoe      13/01/25 22:27:28

  Added:               
                        0001-build-sys-fix-out-of-tree-build-with-vala.patch
  Log:
  Fix build issue when USE=vala is enabled. bug #451670
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch?rev=1.1&content-type=text/plain

Index: 0001-build-sys-fix-out-of-tree-build-with-vala.patch
===================================================================
From 6d454e4100a01499c13d55057fdd9307437a5f87 Mon Sep 17 00:00:00 2001
From: Andrew Hughes <gnu.andrew@redhat.com>
Date: Wed, 16 Jan 2013 22:47:18 +0000
Subject: build-sys: fix out-of-tree build with vala

---
diff --git a/gtk/controller/Makefile.am b/gtk/controller/Makefile.am
index f2abf93..00552e8 100644
--- a/gtk/controller/Makefile.am
+++ b/gtk/controller/Makefile.am
@@ -76,14 +76,16 @@ spice_controller_dump_SOURCES = dump.c
 spice_controller_dump_LDADD = libspice-controller.la
 
 controller.vala.stamp: $(libspice_controller_la_VALASOURCES) custom.vapi
-	@if test -z "$(VALAC)"; then \
-		echo "" ; \
-		echo "  *** Error: missing valac!" ; \
+	@if test -z "$(VALAC)"; then						  \
+		echo "" ;							  \
+		echo "  *** Error: missing valac!" ;				  \
 		echo "  *** You must run autogen.sh or configure --enable-vala" ; \
-		echo "" ; \
-		exit 1 ; \
+		echo "" ;							  \
+		exit 1 ;							  \
 	fi
-	$(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) $(libspice_controller_la_VALASOURCES) -H spice-controller.h
+	$(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS)			\
+	  $(addprefix $(srcdir)/,$(libspice_controller_la_VALASOURCES))	\
+	  -H spice-controller.h
 	@touch $@
 
 $(libspice_controller_la_BUILT_SOURCES): controller.vala.stamp
--
cgit v0.9.0.2-2-gbebe





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

only message in thread, other threads:[~2013-01-25 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 22:27 [gentoo-commits] gentoo-x86 commit in net-misc/spice-gtk/files: 0001-build-sys-fix-out-of-tree-build-with-vala.patch Doug Goldstein (cardoe)

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