tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/boost-libs on OSX 10.10.5: lib/libboost_fiber.a missing



On Tue, Apr 18, 2017 at 02:14:02PM +0200, Edgar Fuß wrote:
> Building devel(boost-libs on Mac OS X 10.10.5 yields
> 	pkg_create: lstat failed for file lib/libboost_fiber.a: No such file or directory
> At the beginning, it says
> 	Component configuration:
> 	[...]
> 	    - fiber                    : building
> and there's no mentioning of "fiber" anywhere else.
> 
> Any hints?

It requires a pretty fancy C++ feature and guesses whether you support
it by itself... our PLIST-guessing isn't clever enough.

# fiber requires thread_local support, unavailable in older compilers
# (old darwin, netbsd <6). if fiber becomes necessary, set GCC_REQD
# on other boost-* packages, too.
# fiber requires context, so also disable it where context cannot be built
# Additionally fiber checks std::timed_mutex.
.if ((${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14) || \
    !empty(MACHINE_PLATFORM:MNetBSD-[0-7]*-*)) || \
    !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || \
    !empty(MACHINE_ARCH:Msparc64) || \
    (${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang))
BJAM_ARGS+=		--without-fiber
.else
PLIST.fiber=		yes
.endif



Home | Main Index | Thread Index | Old Index