blob: ade2320ae78b6573ca7faa829278dda0150fe13f (
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
26
27
28
29
30
|
# $NetBSD: options.mk,v 1.2 2012/08/25 22:39:23 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeDiameter
PKG_SUPPORTED_OPTIONS= freediameter-all-extensions
PKG_SUGGESTED_OPTIONS= freediameter-all-extensions
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ext
.if !empty(PKG_OPTIONS:Mall-extensions)
# enable all except debugging and test
#CMAKE_ARGS+= -DALL_EXTENSIONS:BOOL=ON
CMAKE_ARGS+= -DBUILD_APP_ACCT:BOOL=ON
CMAKE_ARGS+= -DBUILD_APP_DIAMEAP:BOOL=ON
CMAKE_ARGS+= -DBUILD_APP_RADGW:BOOL=ON
CMAKE_ARGS+= -DBUILD_APP_REDIRECT:BOOL=ON
CMAKE_ARGS+= -DBUILD_APP_SIP:BOOL=ON
CMAKE_ARGS+= -DBUILD_DICT_LEGACY_XML:BOOL=ON
CMAKE_ARGS+= -DBUILD_RT_EREG:BOOL=ON
# for debug-interactive-extension only
#.include "../../devel/swig/buildlink3.mk"
#.include "../../lang/python/extension.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
PLIST.ext= yes
.else
CMAKE_ARGS+= -DALL_EXTENSIONS:BOOL=OFF
.endif
|