mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- The descprition of NTLM option is in bsd.options.desc.mk, now.
- Use OPTIONS_SINGLE for OpenSSL/GnuTLS selection.
This commit is contained in:
parent
5e8dbb70bf
commit
95acd1c374
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300329
@ -25,22 +25,16 @@ USE_RC_SUBR= gkrellmd.sh
|
||||
WANT_GNOME= yes
|
||||
USE_OPENSSL= yes # cannot set after bsd.port.pre.mk
|
||||
|
||||
OPTIONS_DEFINE= GKRELLM_CLIENT GNUTLS NLS NTLM OPENSSL
|
||||
OPTIONS_DEFAULT= GKRELLM_CLIENT NLS NTLM OPENSSL
|
||||
OPTIONS_DEFINE= GKRELLM_CLIENT NLS NTLM SSL
|
||||
OPTIONS_SINGLE= SSL
|
||||
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
|
||||
OPTIONS_DEFAULT= GKRELLM_CLIENT NLS NTLM SSL OPENSSL
|
||||
GKRELLM_CLIENT_DESC= Enable GKrellM Client
|
||||
NTLM_DESC= Enable NTLM support
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGKRELLM_CLIENT}
|
||||
CONFLICTS= gkrellm-1.*
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGNUTLS} && ${PORT_OPTIONS:MOPENSSL}
|
||||
BROKEN= GnuTLS and OpenSSL is mutually exclusive.
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGKRELLM_CLIENT}
|
||||
USE_GNOME= gtk20
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
@ -48,6 +42,7 @@ USE_GETTEXT= yes
|
||||
MAKE_ENV+= enable_nls=0
|
||||
.endif
|
||||
USE_XORG= x11 sm
|
||||
.if ${PORT_OPTIONS:MSSL}
|
||||
.if ${PORT_OPTIONS:MGNUTLS}
|
||||
LIB_DEPENDS+= gnutls-openssl.27:${PORTSDIR}/security/gnutls
|
||||
MAKE_ENV+= GNUTLSINC=${LOCALBASE}/include GNUTLSLIB=${LOCALBASE}/lib \
|
||||
@ -55,6 +50,7 @@ MAKE_ENV+= GNUTLSINC=${LOCALBASE}/include GNUTLSLIB=${LOCALBASE}/lib \
|
||||
.elif ${PORT_OPTIONS:MOPENSSL}
|
||||
USE_OPENSSL= yes
|
||||
MAKE_ENV+= without-gnutls=1
|
||||
.endif
|
||||
.else
|
||||
MAKE_ENV+= without-gnutls=1 without-ssl=1
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user