pkgsrc/meta-pkgs/boost/options.mk
jperkin dce2ef6a0d Turn on the 'icu' option for SunOS by default. Every boost update breaks
SunOS by removing the PLIST differences for libboost_locale, so this way
we avoid being broken every time and add support for the locale library.
2013-12-10 16:41:00 +00:00

25 lines
586 B
Makefile

# $NetBSD: options.mk,v 1.2 2013/12/10 16:41:00 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.boost
PKG_SUPPORTED_OPTIONS= debug expat icu
.if ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS= icu
.endif
.include "../../mk/bsd.options.mk"
.if ${BOOST_PACKAGE} == "libs"
.if !empty(PKG_OPTIONS:Mexpat)
MAKE_ENV+= EXPAT_INCLUDE=${PREFIX}/include
MAKE_ENV+= EXPAT_LIBPATH=${PREFIX}/lib
. include "../../textproc/expat/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Micu)
MAKE_ENV+= ICU_PATH=${PREFIX}
. include "../../textproc/icu/buildlink3.mk"
.endif
.endif # ${BOOST_PACKAGE} == "libs"