[tools] fixes python related autokrampf install bug
authorJohn Crispin <john@openwrt.org>
Thu, 7 Jun 2012 14:57:08 +0000 (14:57 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 7 Jun 2012 14:57:08 +0000 (14:57 +0000)
this commit fixes a compile bug triggered by pygobject

SVN-Revision: 32109

tools/automake/patches/200-fix_missing_py_compile.patch [new file with mode: 0644]

diff --git a/tools/automake/patches/200-fix_missing_py_compile.patch b/tools/automake/patches/200-fix_missing_py_compile.patch
new file mode 100644 (file)
index 0000000..b03bdff
--- /dev/null
@@ -0,0 +1,14 @@
+Index: automake-1.11.3/lib/am/python.am
+===================================================================
+--- automake-1.11.3.orig/lib/am/python.am      2012-01-31 12:41:18.000000000 +0100
++++ automake-1.11.3/lib/am/python.am   2012-06-07 16:42:53.488515898 +0200
+@@ -23,8 +23,8 @@
+ ## Installing.  ##
+ ## ------------ ##
+-if %?INSTALL%
+ ?FIRST?am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
++if %?INSTALL%
+ am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
+ .PHONY install-%EXEC?exec:data%-am: install-%DIR%PYTHON
+ install-%DIR%PYTHON: $(%DIR%_PYTHON)