summaryrefslogtreecommitdiff
path: root/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch')
-rw-r--r--net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch b/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
new file mode 100644
index 000000000000..888779a82514
--- /dev/null
+++ b/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -159,7 +159,7 @@ AS_IF([test "x$ac_cv_epoll_works" = "xno" &&
+ AM_CONDITIONAL([OS_LINUX], [test "x$ac_cv_epoll_works" = "xyes"])
+ AM_CONDITIONAL([OS_BSD], [test "x$ac_cv_kqueue_works" = "xyes"])
+ AM_CONDITIONAL([OS_SOLARIS], [test "x$ac_cv_evports_works" = "xyes"])
+-AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" == "FreeBSD 10"])
++AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" = "FreeBSD 10"])
+
+ # Package options
+ AC_MSG_CHECKING([whether to enable debug logs and asserts])