[Pkg-voip-commits] [kamailio] 01/02: exclude json modules from non linux archs

Victor Seva vseva at moszumanska.debian.org
Thu Jun 30 15:55:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

vseva pushed a commit to branch master
in repository kamailio.

commit fd4e57f5d7ce2e010d28da15aa60865ba34a6fa8
Author: Victor Seva <vseva at debian.org>
Date:   Thu Jun 30 16:49:25 2016 +0200

    exclude json modules from non linux archs
    
    > https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=kfreebsd-amd64&ver=4.4.2-1&stamp=1467242447
    > jsonrpc_io.c:30:25: fatal error: sys/timerfd.h: No such file or directory
---
 debian/rules | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b47acbe..884d915 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   ldap xml perl utils lua memcached \
 			   snmpstats carrierroute xmpp cpl redis python geoip\
-			   sqlite json ims sctp java \
+			   sqlite ims sctp java \
 			   purple tls outbound websocket autheph dnssec kazoo cnxcc \
 			   erlang
 
@@ -51,6 +51,13 @@ else
 override EXCLUDED_MODULES += mono
 endif
 
+# FTBFS on kfreebsd
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+override PACKAGE_GROUPS+= json
+else
+override EXCLUDED_MODULES += json
+endif
+
 # FTBFS on powerpcspe because of AltiVec assumption #729635
 ifeq ($(DEB_HOST_ARCH),powerpcspe)
 	export NOALTIVEC=1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/kamailio.git



More information about the Pkg-voip-commits mailing list