From 8ee3e09529c1b72f5b07a91c69a2ebe7bca187d9 Mon Sep 17 00:00:00 2001
From: Bernhard Froehlich <decke@bluelife.at>
Date: Sat, 4 May 2013 13:57:34 +0200
Subject: [PATCH] Enable SSL per default on FreeBSD because libssl is in base
 so it's always available.

---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index fcec9de4..6e4577fb 100755
--- a/configure
+++ b/configure
@@ -74,7 +74,10 @@ check_bin bzip2 || echo 'WARN: no bzip2 binary found'
 #
 # SSL
 #
-if check_pkg openssl || check_pkg libssl; then
+if [ ${PLATFORM} = "freebsd" ]; then
+  # FreeBSD has libssl in base
+  enable ssl
+elif check_pkg openssl || check_pkg libssl; then
   enable ssl
 else
   die "SSL development support not found"