summaryrefslogtreecommitdiff
path: root/package/cyrus-sasl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/cyrus-sasl/Makefile')
-rw-r--r--package/cyrus-sasl/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/cyrus-sasl/Makefile b/package/cyrus-sasl/Makefile
index 4935c51cc..111f9d962 100644
--- a/package/cyrus-sasl/Makefile
+++ b/package/cyrus-sasl/Makefile
@@ -9,14 +9,21 @@ PKG_RELEASE:= 2
PKG_HASH:= 8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
PKG_DESCR:= general purpose authentication library
PKG_SECTION:= libs/crypto
-PKG_BUILDDEP:= openssl
-PKG_DEPENDS:= libopenssl
PKG_URL:= http://cyrusimap.org/
PKG_SITES:= ftp://ftp.cyrusimap.org/cyrus-sasl/
PKG_NOPARALLEL:= 1
PKG_LIBNAME:= libsasl2
PKG_OPTS:= dev
+PKG_CHOICES_CYRUS_SASL:= WITH_LIBRESSL WITH_OPENSSL
+PKGCD_WITH_LIBRESSL:= use libressl for crypto
+PKGCB_WITH_LIBRESSL:= libressl
+PKGCS_WITH_LIBRESSL:= libressl
+PKGCD_WITH_OPENSSL:= use openssl for crypto
+PKGCB_WITH_OPENSSL:= openssl
+PKGCS_WITH_OPENSSL:= libopenssl
+
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include ${ADK_TOPDIR}/mk/package.mk