diff -ruN /home/moiseev/ports/hylafax.orig/files/patch-configure /home/moiseev/ports/hylafax/files/patch-configure --- /home/moiseev/ports/hylafax.orig/files/patch-configure 2014-11-22 16:42:52.000000000 +0300 +++ /home/moiseev/ports/hylafax/files/patch-configure 2014-11-22 17:00:09.000000000 +0300 @@ -1,5 +1,5 @@ ---- configure.orig 2012-06-06 02:58:38.000000000 +0200 -+++ configure 2013-10-23 14:29:24.000000000 +0200 +--- configure.orig 2012-06-06 04:58:38.000000000 +0400 ++++ configure 2014-11-22 16:55:38.000000000 +0300 @@ -831,7 +831,8 @@ # NB: use ANSI C prototype to weed out non-ANSI compilers. # @@ -107,6 +107,15 @@ Note "Looks like -lm is the library for math functions." MACHDEPLIBS="$MACHDEPLIBS -lm" } +@@ -1953,7 +1985,7 @@ + CONFIG_OPENFIFO=O_RDONLY; + fi + ;; +- *-freebsd*) if releaseAtLeast 3.0; then ++ *-freebsd*) if [ "`uname -K`" -ge 300000 ]; then + CONFIG_OPENFIFO=O_RDWR; + else + CONFIG_OPENFIFO=O_RDONLY; @@ -2176,11 +2208,13 @@ # CheckForFunc()