Subject: [PATCH V3 14/15] gnu: pjproject-jami: Add the missing, linux-only "--enable-epoll" flag.

From: Jan Wielkiewicz <[email-masked]>
Date: Sat, 2 May 2020 03:14:49 +0200

* gnu/packages/jami.scm (pjproject-jami)[arguments]: Add the "--enable-epoll" flag,
if not on the Hurd.
---
 gnu/packages/jami.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 68b3dbcf74..54fa6453cf 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -32,6 +32,7 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages hurd)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages multiprecision)
@@ -110,6 +111,11 @@
        (list "--disable-oss" ; do we need this?
              "--disable-sound"
              "--disable-video"
+             ;; The following flag is linux specific
+             ,@(if (hurd-triplet? (or (%current-system)
+                                      (%current-target-system)))
+                   '()
+                   '("--enable-epoll"))
              "--enable-ext-sound"
              "--disable-speex-aec"
              "--disable-g711-codec"
-- 
2.26.2