summaryrefslogtreecommitdiff
path: root/tools/automake/patches/200-fix_missing_py_compile.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-07 14:57:08 +0000
committerJohn Crispin <john@openwrt.org>2012-06-07 14:57:08 +0000
commit639ee81002e57018a4941b2dd8be1a9b560da67b (patch)
treeec7021afdbedf446c92096e0162319f4429e535b /tools/automake/patches/200-fix_missing_py_compile.patch
parent9869b4da3cf0c9e9347515488c73d54fb697b374 (diff)
downloadmtk-20170518-639ee81002e57018a4941b2dd8be1a9b560da67b.zip
mtk-20170518-639ee81002e57018a4941b2dd8be1a9b560da67b.tar.gz
mtk-20170518-639ee81002e57018a4941b2dd8be1a9b560da67b.tar.bz2
fixes python related autokrampf install bug
this commit fixes a compile bug triggered by pygobject SVN-Revision: 32109
Diffstat (limited to 'tools/automake/patches/200-fix_missing_py_compile.patch')
-rw-r--r--tools/automake/patches/200-fix_missing_py_compile.patch14
1 files changed, 14 insertions, 0 deletions
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
index 0000000..b03bdff
--- /dev/null
+++ b/tools/automake/patches/200-fix_missing_py_compile.patch
@@ -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)