| @@ -1,40 +1,40 @@ | | | @@ -1,40 +1,40 @@ |
1 | # $NetBSD: options.mk,v 1.2 2023/09/20 11:39:40 adam Exp $ | | 1 | # $NetBSD: options.mk,v 1.3 2023/09/25 07:35:18 adam Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql16 | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql16 |
4 | PKG_SUPPORTED_OPTIONS= bonjour dtrace llvm gssapi ldap nls pam lz4 | | 4 | PKG_SUPPORTED_OPTIONS= bonjour dtrace llvm gssapi ldap nls pam lz4 |
5 | PKG_SUGGESTED_OPTIONS= gssapi nls lz4 | | 5 | PKG_SUGGESTED_OPTIONS= gssapi nls lz4 |
6 | | | 6 | |
7 | PLIST_VARS+= gssapi llvm nls | | 7 | PLIST_VARS+= gssapi llvm nls |
8 | | | 8 | |
9 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
10 | | | 10 | |
11 | # Bonjour support | | 11 | # Bonjour support |
12 | .if !empty(PKG_OPTIONS:Mbonjour) | | 12 | .if !empty(PKG_OPTIONS:Mbonjour) |
13 | CONFIGURE_ARGS+= --with-bonjour | | 13 | CONFIGURE_ARGS+= --with-bonjour |
14 | . if ${OPSYS} != "Darwin" | | 14 | . if ${OPSYS} != "Darwin" |
15 | LIBS+= -ldns_sd | | 15 | LIBS+= -ldns_sd |
16 | . endif | | 16 | . endif |
17 | . include "../../net/mDNSResponder/buildlink3.mk" | | 17 | . include "../../net/mDNSResponder/buildlink3.mk" |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | # Dtrace support | | 20 | # Dtrace support |
21 | .if !empty(PKG_OPTIONS:Mdtrace) | | 21 | .if !empty(PKG_OPTIONS:Mdtrace) |
22 | CONFIGURE_ARGS+= --enable-dtrace | | 22 | CONFIGURE_ARGS+= --enable-dtrace |
23 | .endif | | 23 | .endif |
24 | | | 24 | |
25 | # GSSAPI (Kerberos5) authentication for the PostgreSQL backend | | 25 | # GSSAPI (Kerberos5) authentication for the PostgreSQL backend |
26 | .if !empty(PKG_OPTIONS:Mgssapi) | | 26 | .if !empty(PKG_OPTIONS:Mgssapi) |
27 | . include "../../mk/krb5.buildlink3.mk" | | 27 | . include "../../security/mit-krb5/buildlink3.mk" |
28 | PLIST.gssapi= yes | | 28 | PLIST.gssapi= yes |
29 | CONFIGURE_ARGS+= --with-gssapi | | 29 | CONFIGURE_ARGS+= --with-gssapi |
30 | .else | | 30 | .else |
31 | CONFIGURE_ARGS+= --without-gssapi | | 31 | CONFIGURE_ARGS+= --without-gssapi |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | # LDAP authentication for the PostgreSQL backend | | 34 | # LDAP authentication for the PostgreSQL backend |
35 | .if !empty(PKG_OPTIONS:Mldap) | | 35 | .if !empty(PKG_OPTIONS:Mldap) |
36 | . include "../../databases/openldap-client/buildlink3.mk" | | 36 | . include "../../databases/openldap-client/buildlink3.mk" |
37 | CONFIGURE_ARGS+= --with-ldap | | 37 | CONFIGURE_ARGS+= --with-ldap |
38 | .endif | | 38 | .endif |
39 | | | 39 | |
40 | # LLVM based JIT support | | 40 | # LLVM based JIT support |