$NetBSD: patch-configure,v 1.1 2015/01/19 12:22:51 wiedi Exp $

help configure find our openssl
--- configure.orig	2015-01-19 12:17:12.217149161 +0000
+++ configure
@@ -6665,7 +6665,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
 $as_echo_n "checking for OpenSSL... " >&6; }
-for dir in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do
+for dir in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr $prefix; do
     ssldir="$dir"
     if test -f "$dir/include/openssl/ssl.h"; then
 	found_ssl="yes";
