aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2012-07-02 00:09:13 +0800
committerume <ume@FreeBSD.org>2012-07-02 00:09:13 +0800
commit86fb1f10ba060d5658abdbb777c47acee0cd92b7 (patch)
treeda95d3c6fa1312a0f20fdffa9cc6eee0e6ddd07e /sysutils/gkrellm2
parenteb30ee22543be91ac55e5ffbd1fec894ef4d68eb (diff)
downloadfreebsd-ports-gnome-86fb1f10ba060d5658abdbb777c47acee0cd92b7.tar.gz
freebsd-ports-gnome-86fb1f10ba060d5658abdbb777c47acee0cd92b7.tar.zst
freebsd-ports-gnome-86fb1f10ba060d5658abdbb777c47acee0cd92b7.zip
- The descprition of NTLM option is in bsd.options.desc.mk, now.
- Use OPTIONS_SINGLE for OpenSSL/GnuTLS selection.
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r--sysutils/gkrellm2/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 16f9833b9538..0ac1ca9a0e67 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -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