[Pkg-voip-commits] [kamailio] 02/02: do not build mono on ia64 or sparc

Victor Seva Lopez maniac-guest at moszumanska.debian.org
Mon Jan 20 10:54:28 UTC 2014


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

maniac-guest pushed a commit to branch master
in repository kamailio.

commit 5d93fa5f6db8430f208f0ba6e8cd77cab291c910
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Mon Jan 20 10:43:25 2014 +0100

    do not build mono on ia64 or sparc
---
 debian/rules | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 7a938b3..ec6866b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,7 @@ FILENAME := kamailio_$(UPVERSION).orig.tar.gz
 URL := http://www.kamailio.org/pub/kamailio/$(UPVERSION)/src/kamailio-$(UPVERSION)_src.tar.gz
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
@@ -36,9 +37,18 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy purple 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 mono ims sctp java \
+			   sqlite json ims sctp java \
 			   tls outbound websocket autheph dnssec
 
+# mono not on ia64 or sparc
+ifeq ($(DEB_HOST_ARCH),ia64)
+	override EXCLUDED_MODULES += mono
+else ifeq ($(DEB_HOST_ARCH),sparc)
+	override EXCLUDED_MODULES += mono
+else
+	override PACKAGE_GROUPS+= mono
+endif
+
 # name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
 LIBDIR ?= lib/$(DEB_HOST_MULTIARCH)
 

-- 
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