diff options
author | ume <ume@FreeBSD.org> | 2003-04-29 23:04:43 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-04-29 23:04:43 +0800 |
commit | 815a6916d6a0e226f2eec2b5f95528855da974d5 (patch) | |
tree | a44e71540d9b6bf1022040ff20a8ee08813a88f3 /security/cyrus-sasl2 | |
parent | a821327198b7b90e1141f5bd0c8444edba010294 (diff) | |
download | freebsd-ports-gnome-815a6916d6a0e226f2eec2b5f95528855da974d5.tar.gz freebsd-ports-gnome-815a6916d6a0e226f2eec2b5f95528855da974d5.tar.zst freebsd-ports-gnome-815a6916d6a0e226f2eec2b5f95528855da974d5.zip |
Add option WITHOUT_NTLM.
Submitted by: Dan Larsson <dl@tyfon.net>
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 9 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-plist | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 7ea922ca67b4..e54dcba3179f 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -48,7 +48,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --mandir=${MANPREFIX}/man \ --enable-static \ --enable-login \ - --enable-ntlm \ --with-saslauthd \ --enable-auth-sasldb \ --with-rc4=openssl @@ -82,6 +81,13 @@ CONFIGURE_ARGS+= --disable-digest DIGEST= "@comment " .endif +.if defined(WITHOUT_NTLM) +CONFIGURE_ARGS+= --disable-ntlm +NTLM= "@comment " +.else +CONFIGURE_ARGS+= --enable-ntlm +.endif + .if defined(KRB5_HOME) && exists(${KRB5_HOME}) CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME} .elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}) @@ -133,6 +139,7 @@ PLIST_SUB= PREFIX=${PREFIX} \ OTP=${OTP} \ CRAM=${CRAM} \ DIGEST=${DIGEST} \ + NTLM=${NTLM} \ GSSAPI=${GSSAPI} \ EBONES=${EBONES} \ DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \ diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist index 23478f4ee9f4..d686345717d7 100644 --- a/security/cyrus-sasl2/pkg-plist +++ b/security/cyrus-sasl2/pkg-plist @@ -31,9 +31,9 @@ lib/sasl2/liblogin.so.2 %%MYSQL%%lib/sasl2/libmysql.a %%MYSQL%%lib/sasl2/libmysql.so %%MYSQL%%lib/sasl2/libmysql.so.2 -lib/sasl2/libntlm.a -lib/sasl2/libntlm.so -lib/sasl2/libntlm.so.2 +%%NTLM%%lib/sasl2/libntlm.a +%%NTLM%%lib/sasl2/libntlm.so +%%NTLM%%lib/sasl2/libntlm.so.2 %%OTP%%lib/sasl2/libotp.a %%OTP%%lib/sasl2/libotp.so %%OTP%%lib/sasl2/libotp.so.2 |