| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: options.mk,v 1.5 2011/02/09 08:48:17 adam Exp $ | | 1 | # $NetBSD: options.mk,v 1.6 2012/03/14 13:22:57 fhajny Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql90 | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql90 |
4 | PKG_SUPPORTED_OPTIONS= bonjour gssapi kerberos ldap pam xml | | 4 | PKG_SUPPORTED_OPTIONS= bonjour gssapi kerberos ldap pam xml dtrace |
5 | | | 5 | |
6 | .include "../../mk/bsd.options.mk" | | 6 | .include "../../mk/bsd.options.mk" |
7 | | | 7 | |
8 | ### | | 8 | ### |
9 | ### Bonjour support. | | 9 | ### Bonjour support. |
10 | ### | | 10 | ### |
11 | .if !empty(PKG_OPTIONS:Mbonjour) | | 11 | .if !empty(PKG_OPTIONS:Mbonjour) |
12 | CONFIGURE_ARGS+= --with-bonjour | | 12 | CONFIGURE_ARGS+= --with-bonjour |
13 | . if ${OPSYS} != "Darwin" | | 13 | . if ${OPSYS} != "Darwin" |
14 | LIBS+= -ldns_sd | | 14 | LIBS+= -ldns_sd |
15 | . endif | | 15 | . endif |
16 | . include "../../net/mDNSResponder/buildlink3.mk" | | 16 | . include "../../net/mDNSResponder/buildlink3.mk" |
17 | .endif | | 17 | .endif |
| @@ -44,13 +44,20 @@ CONFIGURE_ARGS+= --with-ldap | | | @@ -44,13 +44,20 @@ CONFIGURE_ARGS+= --with-ldap |
44 | ### | | 44 | ### |
45 | .if !empty(PKG_OPTIONS:Mpam) | | 45 | .if !empty(PKG_OPTIONS:Mpam) |
46 | . include "../../mk/pam.buildlink3.mk" | | 46 | . include "../../mk/pam.buildlink3.mk" |
47 | CONFIGURE_ARGS+= --with-pam | | 47 | CONFIGURE_ARGS+= --with-pam |
48 | .endif | | 48 | .endif |
49 | | | 49 | |
50 | ### | | 50 | ### |
51 | ### XML support for the PostgreSQL backend. | | 51 | ### XML support for the PostgreSQL backend. |
52 | ### | | 52 | ### |
53 | .if !empty(PKG_OPTIONS:Mxml) | | 53 | .if !empty(PKG_OPTIONS:Mxml) |
54 | . include "../../textproc/libxml2/buildlink3.mk" | | 54 | . include "../../textproc/libxml2/buildlink3.mk" |
55 | CONFIGURE_ARGS+= --with-libxml | | 55 | CONFIGURE_ARGS+= --with-libxml |
56 | .endif | | 56 | .endif |
| | | 57 | |
| | | 58 | ### |
| | | 59 | ### Dtrace support |
| | | 60 | ### |
| | | 61 | .if !empty(PKG_OPTIONS:Mdtrace) |
| | | 62 | CONFIGURE_ARGS+= --enable-dtrace |
| | | 63 | .endif |