Created attachment 315485 [details] ebuild diff With USE=python, dev-libs/boost-1.49.0-r1 fails to compile on prefix. A part of the log indicates the reason: "i686-apple-darwin10-g++" -ftemplate-depth-128 -O2 -march=nocona -pipe -finline-functions -Wno-inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fexceptions -fPIC -fno-strict-aliasing -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/darwin-4.2.1/gentoorelease/boost.locale.icu-off/pch-off/numeric.o" "libs/python/src/numeric.cpp" ./boost/python/detail/prefix.hpp:13 から include されたファイル中, ./boost/python/numeric.hpp:8 から, libs/python/src/numeric.cpp:6 から: ./boost/python/detail/wrap_python.hpp:50:23: error: pyconfig.h: No such file or directory ./boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No such file or directory ./boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python. ./boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such file or directory The include directory for python is /usr/include/python2.7 instead of desired ${EPREFIX}usr/include/python2.7. The attachment is a possible patch against the ebuild changing just one line.
reproduced this on ~amd64-linux
applied, thanks MATSUI