8d06ec48ee
Changes with APR-util 1.6.2 *) Teach configure how to find and build against MariaDB 10.2. PR 61517 [Kris Karas <bugs-a17 moonlit-rail.com>] *) apr_crypto_commoncrypto: Remove stray reference to -lcrypto that prevented commoncrypto being enabled. [Graham Leggett] *) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov] *) apr_dbm_gdbm: Fix handling of error codes. This makes gdbm 1.14 work. apr_dbm_gdbm will now also return error codes starting with APR_OS_START_USEERR, as apr_dbm_berkleydb does, instead of always returning APR_EGENERAL. [Stefan Fritsch]
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $NetBSD: options.mk,v 1.8 2023/01/31 18:44:01 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.apr-util
|
|
PKG_SUPPORTED_OPTIONS= db4 ldap mysql pgsql sqlite3 ssl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= db4 ldap mysql pgsql sqlite3 ssl
|
|
|
|
.if !empty(PKG_OPTIONS:Mdb4)
|
|
BDB_ACCEPTED= db4 db5
|
|
BUILDLINK_TRANSFORM+= l:db4:${BDB_TYPE}
|
|
CONFIGURE_ARGS+= --with-berkeley-db=${BDBBASE}/include:${PREFIX}
|
|
PLIST.db4= yes
|
|
. include "../../mk/bdb.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-dbm=sdbm
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
PLIST.ldap= yes
|
|
CONFIGURE_ARGS+= --with-ldap
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
PLIST.mysql= yes
|
|
CONFIGURE_ARGS+= --with-mysql
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
PLIST.pgsql= yes
|
|
CONFIGURE_ARGS+= --with-pgsql
|
|
. include "../../mk/pgsql.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-pgsql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite3)
|
|
PLIST.sqlite3= yes
|
|
CONFIGURE_ARGS+= --with-sqlite3
|
|
. include "../../databases/sqlite3/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sqlite3
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
PLIST.ssl= yes
|
|
CONFIGURE_ARGS+= --with-crypto
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-crypto
|
|
.endif
|