blob: 08d7f3b72a0bb79a403055125ee3923c16e397fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $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"
|