[Pkg-mono-svn-commits] rev 628 - mono/trunk/debian

Mirco Bauer meebey-guest@haydn.debian.org
Sun, 02 May 2004 12:37:22 -0600


Author: meebey-guest
Date: 2004-05-02 12:37:19 -0600 (Sun, 02 May 2004)
New Revision: 628

Modified:
   mono/trunk/debian/rules
Log:
- if build arch is sparc, don't compile jit



Modified: mono/trunk/debian/rules
===================================================================
--- mono/trunk/debian/rules	2004-05-02 18:31:48 UTC (rev 627)
+++ mono/trunk/debian/rules	2004-05-02 18:37:19 UTC (rev 628)
@@ -3,8 +3,9 @@
 #export DH_VERBOSE=1
 export DH_COMPAT=3
 
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 include /usr/share/dpatch/dpatch.make
-
 VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
 
 cli-wrapper: debian/cli-wrapper.c
@@ -19,7 +20,8 @@
 	./autogen.sh --prefix=/usr --with-gc=included \
 	  --mandir=\$${prefix}/share/man \
 	  --infodir=\$${prefix}/share/info \
-	  --sysconfdir=/etc --with-sigaltstack=no
+	  --sysconfdir=/etc --with-sigaltstack=no \
+	  ifeq ($(DEB_BUILD_ARCH),sparc) --with-jit=no endif
 	$(MAKE)
 	touch build-stamp