tag 548329 patch

On Fri, Sep 25, 2009 at 05:04:26PM +0200, Julian Andres Klode wrote:
> Package: waf
> Version: 1.5.9+dfsg-1
> Severity: important
> 
> Run
>       waf configure
>       waf build
>       waf install --destdir=$PWD/x
> on a checkout of git://git.debian.org/git/users/jak/apt2.git. The last
> step will fail. The old version build it correctly.
The attached patch fixes it. I haven't looked at the upstream project,
you may want to forward the patch.
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Author: Julian Andres Klode <j...@debian.org>
Bug-Debian: http://bugs.debian.org/548329
Description: Fix vala.py to pass a list to install_files().

--- a/vala.py
+++ b/vala.py
@@ -114,10 +114,9 @@ class valac_task(Task.Task):
 						api_version = version[0] + ".0"
 				install_path = '${INCLUDEDIR}/%s-%s/%s' % (package, api_version, header.relpath_gen(top_src))
 				bld.install_as(install_path, header, self.env)
-			for vapi in vapi_list:
-				bld.install_files('${DATAROOTDIR}/vala/vapi', vapi, self.env)
-			for gir in gir_list:
-				bld.install_files('${DATAROOTDIR}/gir-1.0', gir, self.env)
+
+			bld.install_files('${DATAROOTDIR}/vala/vapi', vapi_list, self.env)
+			bld.install_files('${DATAROOTDIR}/gir-1.0', gir_list, self.env)
 
 	def _fix_output(self, output):
 		top_bld = self.generator.bld.srcnode.abspath(self.env)

Attachment: signature.asc
Description: Digital signature

Reply via email to