pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/devel/boost-libs



* On 2015-01-25 at 12:21 GMT, Masatake Daimon wrote:

> Module Name:  pkgsrc
> Committed By: pho
> Date:         Sun Jan 25 12:21:33 UTC 2015
> 
> Modified Files:
>       pkgsrc/devel/boost-libs: Makefile PLIST
> 
> Log Message:
> Long double math functions are not available on Darwin.
> 
> See boost/math/tools/config.hpp:53

Which Darwin release/arch was this for?  My hunch is that you're on
PowerPC, as the test which disables "long double" only does so when:

  __LDBL_MANT_DIG__ == 106

which is not the case on either my 32-bit or 64-bit x86 hosts, at
least with default gcc/clang arguments.

I'd like to fix this properly, rather than adding more exceptions, so
if we can reduce it to a single:

  .if empty(MACHINE_PLATFORM:MDarwin-*-powerpc)
  PLIST.long_double_math= yes
  .endif

or whatever uname -p reports that'd be great.  Currently it's
definitely broken on Mavericks, and probably broken on Snow Leopard,
so I'd like to get it fixed before the branch.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com



Home | Main Index | Thread Index | Old Index