svn commit: r472950 - head/security/krb5-devel
Cy Schubert
cy at FreeBSD.org
Thu Jun 21 04:50:01 UTC 2018
Author: cy
Date: Thu Jun 21 04:50:00 2018
New Revision: 472950
URL: https://svnweb.freebsd.org/changeset/ports/472950
Log:
Fix staging when databases/lmdb is not installed.
Make lmdb an option.
Modified:
head/security/krb5-devel/Makefile (contents, props changed)
head/security/krb5-devel/pkg-plist (contents, props changed)
Modified: head/security/krb5-devel/Makefile
==============================================================================
--- head/security/krb5-devel/Makefile Thu Jun 21 04:44:03 2018 (r472949)
+++ head/security/krb5-devel/Makefile Thu Jun 21 04:50:00 2018 (r472950)
@@ -40,7 +40,7 @@ CPE_VENDOR= mit
CPE_VERSION= 5-${PORTVERSION}
CPE_PRODUCT= kerberos
-OPTIONS_DEFINE= EXAMPLES NLS DNS_FOR_REALM LDAP
+OPTIONS_DEFINE= EXAMPLES NLS DNS_FOR_REALM LDAP LMDB
OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML READLINE
OPTIONS_RADIO= CMD_LINE_EDITING
OPTIONS_RADIO_CMD_LINE_EDITING= READLINE READLINE_PORT LIBEDIT
@@ -50,6 +50,10 @@ DNS_FOR_REALM_CONFIGURE_ENABLE= dns-for-realm
LDAP= Enable LDAP support
LDAP_USE= OPENLDAP=yes
LDAP_CONFIGURE_WITH= ldap
+LMDB_DESC= Enable OpenLDAP Lightning Memory-Mapped Database
+LMDB_CONFIGURE_WITH= lmdb
+LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
+LMDB_IMPLIES= LDAP
NLS_USES= gettext
READLINE_USES= readline
READLINE_PORT_DESC= Command line editing via devel/readline
Modified: head/security/krb5-devel/pkg-plist
==============================================================================
--- head/security/krb5-devel/pkg-plist Thu Jun 21 04:44:03 2018 (r472949)
+++ head/security/krb5-devel/pkg-plist Thu Jun 21 04:50:00 2018 (r472950)
@@ -96,7 +96,7 @@ lib/libkrb5support.so
lib/libkrb5support.so.0
lib/libkrb5support.so.0.1
lib/krb5/plugins/kdb/db2.so
-lib/krb5/plugins/kdb/klmdb.so
+%%LMDB%%lib/krb5/plugins/kdb/klmdb.so
lib/krb5/plugins/tls/k5tls.so
%%LDAP%%lib/krb5/plugins/kdb/kldap.so
lib/krb5/plugins/preauth/otp.so
More information about the svn-ports-all
mailing list