diff options
author | mezz <mezz@FreeBSD.org> | 2011-06-05 06:41:01 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2011-06-05 06:41:01 +0800 |
commit | 01ff0490b276eefe1b208fb579b5d8f55302f70f (patch) | |
tree | 280ef1c00238ed7f417b58d9348e44fe68245819 /net-im/loudmouth | |
parent | b0431bc94b0accb61b3af376206fd428da065ab3 (diff) | |
download | freebsd-ports-gnome-01ff0490b276eefe1b208fb579b5d8f55302f70f.tar.gz freebsd-ports-gnome-01ff0490b276eefe1b208fb579b5d8f55302f70f.tar.zst freebsd-ports-gnome-01ff0490b276eefe1b208fb579b5d8f55302f70f.zip |
Add OpenSSL option if you want it instead of GnuTLS. The GnuTLS is default.
PR: ports/155969
Submitted by: Zhihao Yuan <lichray@gmail.com>
Diffstat (limited to 'net-im/loudmouth')
-rw-r--r-- | net-im/loudmouth/Makefile | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/net-im/loudmouth/Makefile b/net-im/loudmouth/Makefile index e703db2d5879..dad52ac49bce 100644 --- a/net-im/loudmouth/Makefile +++ b/net-im/loudmouth/Makefile @@ -23,19 +23,28 @@ USE_GETTEXT= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= yes USE_GNOME= gnomehack glib20 ltverhack -CONFIGURE_ARGS= --disable-gtk-doc +CONFIGURE_ARGS= --disable-gtk-doc --enable-debug=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib" -OPTIONS= GNUTLS "Enable SSL (via GnuTLS) support" on +OPTIONS= GNUTLS "Enable SSL (via GnuTLS) support" on \ + OPENSSL "Enable SSL (via OpenSSL) support" off .include <bsd.port.pre.mk> -.if !defined(WITHOUT_GNUTLS) -LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls -RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss -.else -CONFIGURE_ARGS+= --without-ssl +.if defined(WITH_GNUTLS) +LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls +RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss +.endif + +.if defined(WITH_OPENSSL) +USE_OPENSSL= yes +CONFIGURE_ARGS+=--with-ssl=openssl +RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss +.endif + +.if !defined(WITH_GNUTLS) && !defined(WITH_OPENSSL) +CONFIGURE_ARGS+=--without-ssl .endif post-patch: |