summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-15 17:58:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-15 17:58:20 +0200
commitcf64ca8e62ed3a8efc23cf2d49cd54954fe8d81c (patch)
treee88dd2e29cddd675b13569e83fafeb319ed54ffa /package/python2/Makefile
parentd74e014d023453860d140a7455022424c80d4f0c (diff)
add package virtinst and dependencies
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 53e770f2d..2aed3ed49 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -46,9 +46,10 @@ post-extract:
$(CP) ./files/setup.py ${WRKBUILD}/setup.py
$(CP) ./files/posixmodule.c ${WRKBUILD}/Modules/posixmodule.c
$(CP) ./files/python-config.in ${WRKBUILD}/Misc/python-config.in
+ $(CP) ./files/build_scripts.py ${WRKBUILD}/Lib/distutils/command/build_scripts.py
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
OPT="$(CFLAGS_FOR_BUILD)" \
- ./configure --without-cxx-main --without-threads \
+ ./configure --without-cxx-main --with-threads \
--prefix=$(STAGING_HOST_DIR)/usr \
);
$(MAKE) -C ${WRKBUILD} python Parser/pgen
@@ -62,6 +63,7 @@ post-extract:
pre-configure:
$(SED) "s#@@CPU_ARCH@@#$(CPU_ARCH)#" ${WRKBUILD}/configure
+ $(SED) "s#@@STAGING_DIR@@#$(STAGING_DIR)#" ${WRKBUILD}/setup.py
post-install:
${INSTALL_DIR} ${IDIR_PYTHON2}/usr/bin ${IDIR_PYTHON2}/usr/lib