|
1 | 1 | # $NetBSD: options.mk,v 1.0 2024/12/02 15:00:00 dkazankov Exp $ |
2 | 2 |
|
3 | | -PKG_OPTIONS_VAR= PKG_OPTIONS.PolyORB |
4 | | -PKG_SUPPORTED_OPTIONS= ap-corba ap-dsa ap-moma ap-aws \ |
5 | | - pp-giop pp-soap pp-srp pp-dns \ |
6 | | - cs-event cs-ir cs-naming cs-notification cs-time \ |
7 | | - shared openssl builtin-openssl gnatcoll |
| 3 | +PKG_OPTIONS_VAR= PKG_OPTIONS.polyorb |
| 4 | +PKG_SUPPORTED_OPTIONS= ap-corba ap-dsa ap-moma ap-aws \ |
| 5 | + pp-giop pp-soap pp-srp pp-dns \ |
| 6 | + cs-event cs-ir cs-naming cs-notification cs-time \ |
| 7 | + gnatcoll |
| 8 | +PKG_OPTIONS_OPTIONAL_GROUPS= shared-libs openssl |
| 9 | +PKG_OPTIONS_GROUP.shared-libs= enable-shared-libs disable-shared-libs |
| 10 | +PKG_OPTIONS_GROUP.openssl= openssl builtin-openssl |
8 | 11 |
|
9 | 12 | .include "../../mk/bsd.fast.prefs.mk" |
10 | 13 |
|
11 | 14 | PKG_SUGGESTED_OPTIONS= ap-corba ap-dsa ap-moma \ |
12 | | - pp-giop pp-soap pp-srp pp-dns \ |
13 | | - cs-event cs-ir cs-naming cs-notification cs-time \ |
14 | | - builtin-openssl gnatcoll |
| 15 | + pp-giop pp-soap pp-srp pp-dns \ |
| 16 | + cs-event cs-ir cs-naming cs-notification cs-time \ |
| 17 | + builtin-openssl gnatcoll |
15 | 18 |
|
16 | 19 | .include "../../mk/bsd.options.mk" |
17 | 20 |
|
| 21 | +.if !empty(PKG_OPTIONS:Menable-shared-libs) |
| 22 | +CONFIGURE_ARGS+= --enable-shared |
| 23 | +CONFIGURE_ARGS+= --with-gprbuild=gprbuild |
| 24 | +USE_GCC_RUNTIME= yes |
| 25 | +BUILDLINK_DEPMETHOD.xmlada= full |
| 26 | +BUILDLINK_DEPMETHOD.gprlib= full |
| 27 | +BUILDLINK_DEPMETHOD.gnatcoll-core= full |
| 28 | +.endif |
| 29 | +.if !empty(PKG_OPTIONS:Mdisable-shared-libs) |
| 30 | +CONFIGURE_ARGS+= --disable-shared |
| 31 | +.endif |
| 32 | +.if empty(PKG_OPTIONS:Menable-shared-libs) && empty(PKG_OPTIONS:Mdisable-shared-libs) |
| 33 | +CONFIGURE_ARGS+= --with-gprbuild=gprbuild |
| 34 | +USE_GCC_RUNTIME= yes |
| 35 | +BUILDLINK_DEPMETHOD.xmlada= full |
| 36 | +BUILDLINK_DEPMETHOD.gprlib= full |
| 37 | +BUILDLINK_DEPMETHOD.gnatcoll-core= full |
| 38 | +.endif |
| 39 | + |
18 | 40 | .if !empty(PKG_OPTIONS:Mbuiltin-openssl) |
19 | | -.include "../../security/openssl/builtin.mk" |
| 41 | +USE_BUILTIN.openssl= yes |
| 42 | +.include "../../security/openssl/buildlink3.mk" |
20 | 43 | CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} |
21 | 44 | .elif !empty(PKG_OPTIONS:Mopenssl) |
| 45 | +USE_BUILTIN.openssl= no |
22 | 46 | .include "../../security/openssl/buildlink3.mk" |
23 | 47 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE} |
24 | 48 | .else |
25 | 49 | .endif |
26 | 50 |
|
27 | 51 | .if !empty(PKG_OPTIONS:Mgnatcoll) |
| 52 | +.include "../../wip/xmlada/buildlink3.mk" |
| 53 | +.include "../../wip/gprlib/buildlink3.mk" |
| 54 | +.include "../../wip/gnatcoll-core/buildlink3.mk" |
28 | 55 | CONFIGURE_ARGS+= --with-gnatcoll |
29 | 56 | .endif |
30 | 57 |
|
31 | | -.if !empty(PKG_OPTIONS:Mshared) |
32 | | -CONFIGURE_ARGS+= --enable-shared |
33 | | -CONFIGURE_ARGS+= --with-gprbuild=gprbuild |
34 | | -.endif |
35 | | - |
36 | 58 | .if !empty(PKG_OPTIONS:Map-aws) |
37 | 59 | APP_PERSONALITIES+= aws |
38 | 60 | .endif |
|
0 commit comments