[Pkg-mono-svn-commits] rev 630 - mono/trunk/debian
Mirco Bauer
meebey-guest@haydn.debian.org
Sun, 02 May 2004 13:10:08 -0600
Author: meebey-guest
Date: 2004-05-02 13:09:58 -0600 (Sun, 02 May 2004)
New Revision: 630
Modified:
mono/trunk/debian/rules
Log:
- fixed architecture check (thanks to Salz for the note)
Modified: mono/trunk/debian/rules
===================================================================
--- mono/trunk/debian/rules 2004-05-02 18:38:11 UTC (rev 629)
+++ mono/trunk/debian/rules 2004-05-02 19:09:58 UTC (rev 630)
@@ -5,6 +5,10 @@
DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),sparc)
+JIT="--with-jit=no"
+endif
+
include /usr/share/dpatch/dpatch.make
VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2)
@@ -20,8 +24,7 @@
./autogen.sh --prefix=/usr --with-gc=included \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
- --sysconfdir=/etc --with-sigaltstack=no \
- ifeq ($(DEB_BUILD_ARCH),sparc) --with-jit=no endif
+ --sysconfdir=/etc --with-sigaltstack=no $(JIT)
$(MAKE)
touch build-stamp