diff options
Diffstat (limited to 'net/openldap24-server/Makefile')
-rw-r--r-- | net/openldap24-server/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index 15f4ad051253..77eaf33779c4 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -3,6 +3,7 @@ PORTNAME= openldap DISTVERSION= 2.4.39 +PORTREVISION= 1 PORTREVISION= ${OPENLDAP_PORTREVISION} CATEGORIES= net databases MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ @@ -428,14 +429,7 @@ CONFIGURE_ARGS+= --enable-spasswd .if ${PORT_OPTIONS:MODBC} CONFIGURE_ARGS+= --enable-sql=${BACKEND_ENABLE} PLIST_SUB+= BACK_SQL=${BACKEND_PLIST} -WITH_ODBC_TYPE?= iODBC -.if ${WITH_ODBC_TYPE:tl} == iodbc -LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc -.elif ${WITH_ODBC_TYPE:tl} == unixodbc -LIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC -.else -BROKEN= choose either iODBC or unixODBC for WITH_ODBC_TYPE -.endif +LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC .else PLIST_SUB+= BACK_SQL="@comment " .endif |