diff options
Diffstat (limited to 'net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch')
-rw-r--r-- | net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch b/net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch new file mode 100644 index 000000000000..92be8ccc5aa4 --- /dev/null +++ b/net-misc/spice-gtk/files/0001-build-sys-fix-out-of-tree-build-with-vala.patch @@ -0,0 +1,35 @@ +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 |