View | Details | Raw Unified | Return to bug 183717
Collapse All | Expand All

(-)/home/moiseev/ports/hylafax/files/patch-configure (-2 / +11 lines)
Lines 1-5 Link Here
1
--- configure.orig	2012-06-06 02:58:38.000000000 +0200
1
--- configure.orig	2012-06-06 04:58:38.000000000 +0400
2
+++ configure	2013-10-23 14:29:24.000000000 +0200
2
+++ configure	2014-11-22 16:55:38.000000000 +0300
3
@@ -831,7 +831,8 @@
3
@@ -831,7 +831,8 @@
4
 # NB: use ANSI C prototype to weed out non-ANSI compilers.
4
 # NB: use ANSI C prototype to weed out non-ANSI compilers.
5
 #
5
 #
Lines 107-112 Link Here
107
     Note "Looks like -lm is the library for math functions."
107
     Note "Looks like -lm is the library for math functions."
108
     MACHDEPLIBS="$MACHDEPLIBS -lm"
108
     MACHDEPLIBS="$MACHDEPLIBS -lm"
109
 }
109
 }
110
@@ -1953,7 +1985,7 @@
111
 			    CONFIG_OPENFIFO=O_RDONLY;
112
 			fi
113
 			;;
114
-	*-freebsd*)	if releaseAtLeast 3.0; then
115
+	*-freebsd*)	if [ "`uname -K`" -ge 300000 ]; then
116
 			    CONFIG_OPENFIFO=O_RDWR;
117
 			else
118
 			    CONFIG_OPENFIFO=O_RDONLY;
110
@@ -2176,11 +2208,13 @@
119
@@ -2176,11 +2208,13 @@
111
 #
120
 #
112
 CheckForFunc()
121
 CheckForFunc()

Return to bug 183717