summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-15 10:20:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-15 10:20:07 +0200
commit96a83976f70dc1bfcedadcf94f59502ab2b4014d (patch)
treeeec7b010ae00fcaa9e8fbacc3a7e04bf486ad8c4 /package/python2/Makefile
parentf7bb2f756421b8e2a9e0bb8a010713b48c44969d (diff)
fix patch usage
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index b5aac2032..757e6adc5 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -108,7 +108,7 @@ hostpre-configure:
$(CP) $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD)
$(SED) "s#@@STAGING_TARGET_DIR@@#$(STAGING_TARGET_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
$(SED) "s#@@STAGING_HOST_DIR@@#$(STAGING_HOST_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
- (cd $(WRKBUILD) && patch -p0 < patch-Lib_distutils_sysconfig_py)
+ (cd $(WRKBUILD) && ${PATCHP0} < patch-Lib_distutils_sysconfig_py)
$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
$(WRKBUILD)/Misc/python-config.in
@@ -119,13 +119,13 @@ hostpost-install:
$(SED) "s#@@STAGING_TARGET_DIR@@#$(STAGING_TARGET_DIR)#" $(WRKBUILD)/python-config.patch
$(SED) "s#@@STAGING_HOST_DIR@@#$(STAGING_HOST_DIR)#" $(WRKBUILD)/python-config.patch
(cd $(STAGING_HOST_DIR)/usr/bin && \
- patch -p0 < $(WRKBUILD)/python-config.patch)
+ ${PATCHP0} < $(WRKBUILD)/python-config.patch)
pre-configure:
$(CP) $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD)
$(SED) "s#@@STAGING_TARGET_DIR@@#$(STAGING_TARGET_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
$(SED) "s#@@STAGING_HOST_DIR@@#$(STAGING_HOST_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
- (cd $(WRKBUILD) && patch -p0 <$(WRKBUILD)/patch-Lib_distutils_sysconfig_py)
+ (cd $(WRKBUILD) && ${PATCHP0} <$(WRKBUILD)/patch-Lib_distutils_sysconfig_py)
$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
$(WRKBUILD)/Misc/python-config.in