summaryrefslogtreecommitdiff
path: root/package/boost/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-16 10:08:06 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-16 10:08:14 -0500
commit5d25745353427fbb01610839fd904b177f2df067 (patch)
treeab382938105ea9ef2ec8eaeb251335fe552aa36a /package/boost/Makefile
parent3e84a4b68b4b24f658f58babf90c3155c365cd21 (diff)
add support for powerpc, add log flavour
Diffstat (limited to 'package/boost/Makefile')
-rw-r--r--package/boost/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/boost/Makefile b/package/boost/Makefile
index 7d5a231ab..cfa9d80ce 100644
--- a/package/boost/Makefile
+++ b/package/boost/Makefile
@@ -15,12 +15,12 @@ PKG_URL:= http://www.boost.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=boost/}
PKG_OPTS:= dev
-PKG_ARCH_DEPENDS:= !m68k !xtensa
+PKG_ARCH_DEPENDS:= !m68k
DISTFILES:= boost_$(PKG_EXTRAVER)_0.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}_$(PKG_EXTRAVER)_0
-PKG_FLAVOURS_BOOST:= DATE_TIME GRAPH GRAPH_PARALLEL IOSTREAMS MATH PROGRAM_OPTIONS PYTHON REGEX SERIALIZATION SIGNALS TEST WAVE
+PKG_FLAVOURS_BOOST:= DATE_TIME GRAPH GRAPH_PARALLEL IOSTREAMS LOG MATH PROGRAM_OPTIONS PYTHON REGEX SERIALIZATION SIGNALS TEST WAVE
PKGFD_DATE_TIME:= with date-time
PKGFD_PYTHON:= with python
@@ -30,6 +30,7 @@ PKGFD_IOSTREAMS:= with iostreams
PKGFD_GRAPH:= with graph
PKGFD_GRAPH_PARALLEL:= with graph_parallel
PKGFD_MATH:= with math
+PKGFD_LOG:= with log
PKGFD_PROGRAM_OPTIONS:= with program_options
PKGFD_REGEX:= with regex
PKGFD_SERIALIZATION:= with serialization
@@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --target=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=${WRKINST}/usr \
--ignore-site-config \
+ --without-mpi \
--without-locale
ifneq (${ADK_PACKAGE_BOOST_IOSTREAMS},)
@@ -68,6 +70,9 @@ endif
ifeq (${ADK_PACKAGE_BOOST_GRAPH},)
CONFIGURE_ARGS+= --without-graph
endif
+ifeq (${ADK_PACKAGE_BOOST_LOG},)
+CONFIGURE_ARGS+= --without-log
+endif
ifeq (${ADK_PACKAGE_BOOST_MATH},)
CONFIGURE_ARGS+= --without-math
endif
@@ -92,6 +97,8 @@ endif
ifeq ($(ADK_TARGET_ARCH),x86_64)
BOOST_ARCH:= x86
+else ifeq ($(ADK_TARGET_ARCH),ppc)
+BOOST_ARCH:= power
else
BOOST_ARCH:= $(ADK_TARGET_ARCH)
endif