ソースを参照

fix python depends

Waldemar Brodkorb 11 年 前
コミット
a209fd86fb
1 ファイル変更8 行追加6 行削除
  1. 8 6
      package/boost/Makefile

+ 8 - 6
package/boost/Makefile

@@ -5,10 +5,11 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		boost
 PKG_VERSION:=		1.55.0
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_MD5SUM:=		93780777cfbf999a600f62883bd54b17
 PKG_DESCR:=		boost C++ library
 PKG_SECTION:=		libs
+PKG_BUILDDEP:=		autotool bzip2-host python2-host
 PKG_URL:=		http://www.boost.org/
 PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=boost/}
 PKG_OPTS:=		dev
@@ -18,12 +19,12 @@ PKG_ARCH_DEPENDS:=	!m68k
 DISTFILES:=		boost_1_55_0.tar.gz
 WRKDIST=		${WRKDIR}/${PKG_NAME}_1_55_0
 
-PKG_FLAVOURS_BOOST:=	date_time graph graph_parallel iostreams math program_options python regex serialization signals system test thread wave
+PKG_FLAVOURS_BOOST:=	date_time graph graph_parallel iostreams math program_options PYTHON regex serialization signals system test thread wave
 
 PKGFD_date_time:=	with date-time
-PKGFD_python:=	with Python
-PKGFB_python:=	python2
-PKGFS_python:=	python2
+PKGFD_PYTHON:=		with Python
+PKGFB_PYTHON:=		python2
+PKGFS_PYTHON:=		python2
 PKGFD_iostreams:=	with iostreams
 PKGFD_graph:=	with graph
 PKGFD_graph_parallel:=	with graph_parallel
@@ -107,7 +108,7 @@ endif
 GPP_PATH:=	${STAGING_HOST_DIR}/bin/${GNU_TARGET_NAME}-g++
 GPP_VERSION:=	"`${GPP_PATH} -v 2>&1 | tail -1 | awk '{print $$3}'`"
 BJAM_PATH:=	"`find ${WRKBUILD} -type f -name "bjam$(EXEEXT)"`"
-PYTHON_PATH:=	${STAGING_TARGET_DIR}/usr/bin/python
+PYTHON_PATH:=	${STAGING_HOST_DIR}/usr/bin/python
 PYTHON_INCLUDE:="`find ${STAGING_TARGET_DIR}/usr/include/ -maxdepth 1 -type d -name "python*" | head -1`"
 PYTHON_LIB:=	"`find ${STAGING_TARGET_DIR}/usr/lib/ -maxdepth 1 -type d -name "python*" | head -1`"
 USER_JAM:=	${WRKBUILD}/tools/build/v2/user-config.jam
@@ -141,6 +142,7 @@ endif
 			--layout=versioned \
 			--disable-long-double \
 			--without-mpi \
+			--debug-configuration \
 			${CONFIGURE_ARGS} \
 			install \
 	)