$OpenBSD: patch-configure,v 1.2 2017/03/24 14:39:05 jeremy Exp $

Fix so name, checking for DOT and DOXYGEN.

Override the arch setting to remove OpenBSD version from it,
so ports don't have to be bumped when OpenBSD version changes.

--- configure.orig	Tue Mar 21 22:56:10 2017
+++ configure	Wed Mar 22 08:33:15 2017
@@ -424,7 +424,7 @@ if test -z "$2"; then :
 
 else
 
-	$as_echo_n "   * $1:                     " | head -c26
+	$as_echo_n "   * $1:                     " | dd bs=26 count=1 status=none
 	if test "$FOLD"; then :
 
 	    echo "$2" | fold -s -w50 |
@@ -25601,7 +25601,7 @@ esac
   openbsd*|mirbsd*) :
 
 	SOLIBS='$(LIBS)'
-	LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
+	LIBRUBY_SO='lib$(RUBY_SO_NAME).so.'${LIBruby24_VERSION}
 	 ;; #(
   solaris*) :
 
@@ -26974,7 +26974,7 @@ _ACEOF
 _ACEOF
 
 else
-    arch="${target_cpu}-${target_os}"
+    arch="${target_cpu}-openbsd"
     case "$arch" in #(
   le32-nacl) :
     arch="pnacl" ;; #(
