On Wed, Aug 28, 2013 at 01:07:27AM +0200, Richard PALO wrote:
Hi, this has been lingering for awhile...
On Solaris, when boost-libs is built with the option 'icu', PLIST is
missing the following:
lib/libboost_locale.a
lib/libboost_locale.so
lib/libboost_locale.so.${BOOST_VERSION}
The following PLISTs have the above entries, albeit non parameterised:
PLIST.Darwin
PLIST.DragonFly
PLIST.Linux
PLIST.NetBSD
I have prepared a patch with a global PLIST variable 'icu' at
http://www.netbsd.org/~richard/boost-icu.patch
effectively adding to PLIST:
${PLIST.icu}lib/libboost_locale.a
${PLIST.icu}lib/libboost_locale.so
${PLIST.icu}lib/libboost_locale.so.${BOOST_VERSION}
I'd like to make sure that no platform generates these libs
*without* the 'icu' option, in which case I will simply use
PLIST.SunOS and let the other platform deal with it themselves
(since nobody has parameterised it already :-)
Could I get the above platforms to confirm please?
If I build boost-libs with your patch on NetBSD-6.99.23/amd64, it fails with:
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for boost-libs-1.53.0
ERROR: ************************************************************
ERROR: The following files are in
/scratch/devel/boost-libs/work/.destdir/usr/pkg but not in the PLIST:
ERROR:
/scratch/devel/boost-libs/work/.destdir/usr/pkg/lib/libboost_locale.a
ERROR:
/scratch/devel/boost-libs/work/.destdir/usr/pkg/lib/libboost_locale.so
ERROR:
/scratch/devel/boost-libs/work/.destdir/usr/pkg/lib/libboost_locale.so.1.53.0
*** Error code 1
Thomas
Build Options
Boost.Locale supports following options with values off or on
boost.locale.icu=off disable build of ICU backend even if ICU library exists
boost.locale.iconv=off or boost.locale.iconv=on enable or disable use of
iconv library. It is off by default on Windows and Solaris
boost.locale.winapi=off - disable winapi backend, it is on by default on
Windows and Cygwin
boost.locale.std=off or boost.locale.winapi=on Disable or enable std
backends. std backend is disabled by default when using Sun Studio.
boost.locale.posix=on or boost.locale.posix=off Enable or disable support
of POSIX backend, it is on by default on Linux and Mac OS X
Also Boost.Locale supports following options
-sICU_PATH=/path/to/location/of/icu - the location of custom ICU library
-sICONV_PATH=/path/to/location/of/iconv - the location of custom iconv
library