diff options
author | nia <nia@pkgsrc.org> | 2019-02-09 20:13:02 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-02-09 20:13:02 +0000 |
commit | 95abc2c143ebcae75436b69ecd973fc24f87f6d0 (patch) | |
tree | c19d66e93044198ae170162f5014e71ad5d3de22 /chat | |
parent | 0e18d4b19d3c1489da95144ae97df24e7d3284eb (diff) | |
download | pkgsrc-95abc2c143ebcae75436b69ecd973fc24f87f6d0.tar.gz |
chat/atheme: Add ldap option, fix build without builtin ldap...
Diffstat (limited to 'chat')
-rw-r--r-- | chat/atheme/PLIST | 4 | ||||
-rw-r--r-- | chat/atheme/options.mk | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/chat/atheme/PLIST b/chat/atheme/PLIST index e10362660cd..067f6fe5ebb 100644 --- a/chat/atheme/PLIST +++ b/chat/atheme/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2019/02/07 14:29:20 nia Exp $ +@comment $NetBSD: PLIST,v 1.6 2019/02/09 20:13:02 nia Exp $ bin/atheme-dbverify bin/atheme-ecdsakeygen bin/atheme-services @@ -120,7 +120,7 @@ include/libmowgli-2/thread/thread.h include/libmowgli-2/vio/vio.h lib/atheme/modules/alis/main.so lib/atheme/modules/auth/dummy.so -lib/atheme/modules/auth/ldap.so +${PLIST.ldap}lib/atheme/modules/auth/ldap.so lib/atheme/modules/backend/corestorage.so lib/atheme/modules/backend/flatfile.so lib/atheme/modules/backend/opensex.so diff --git a/chat/atheme/options.mk b/chat/atheme/options.mk index 1ce9a94c767..09eda412021 100644 --- a/chat/atheme/options.mk +++ b/chat/atheme/options.mk @@ -1,10 +1,12 @@ -# $NetBSD: options.mk,v 1.1.1.1 2008/06/16 10:38:27 adrianp Exp $ +# $NetBSD: options.mk,v 1.2 2019/02/09 20:13:02 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.atheme -PKG_SUPPORTED_OPTIONS= ssl atheme-large-net +PKG_SUPPORTED_OPTIONS= ldap ssl atheme-large-net PKG_SUGGESTED_OPTIONS= ssl +PLIST_VARS+= ldap + .include "../../mk/bsd.options.mk" ### @@ -17,6 +19,13 @@ CONFIGURE_ARGS+= --enable-ssl CONFIGURE_ARGS+= --disable-ssl .endif +.if !empty(PKG_OPTIONS:Mldap) +. include "../../databases/openldap-client/buildlink3.mk" +PLIST.ldap= yes +.else +CONFIGURE_ARGS+= --without-ldap +.endif + ### ### Large network support (i.e. > 2000 users) ### |