Hello, here is a very little patch to make debian/rules clear for amd64 and i386 (and powerpc maybe ?) archs.
So with this patch i could dpkg-buildpackage on a ubuntu/dapper amd64 and ubuntu/dapper i386 system. Éric -- Éric Seigne - Directeur | [EMAIL PROTECTED] RyXéo SARL | http://www.ryxeo.com Le Topaze - Entrée C, 2 rue Jean Bonnardel | tel +33 6 987 444 01 33140 Villenave d'Ornon - FRANCE | fax +33 5 567 542 59
--- rules 2007-03-24 16:19:39.000000000 +0100 +++ /home/erics/cinelerra/hvirtual-2.1.0-2svn20070323/debian/rules 2007-03-24 00:57:35.000000000 +0100 @@ -9,12 +9,19 @@ #since we are building from .svn +export DH_ALWAYS_EXCLUDE=.svn -ifneq ($(DEB_HOST_ARCH),powerpc) +#special options for i386 archs +ifeq ($(DEB_HOST_ARCH),i386) CFLAGS=-ffast-math -O3 -mmmx -march=pentium4 -msse -msse2 -minline-all-stringops -fprefetch-loop-arrays -funroll-loops # CFLAGS=-ffast-math -g -mmmx -march=pentium-mmx CXXFLAGS=$(CFLAGS) -fno-check-new CONFFLAGS+=--enable-mmx --enable-x86 --without-pic endif +#others ones for amd64 +ifeq ($(DEB_HOST_ARCH),amd64) + CFLAGS=-ffast-math -g -O2 -mmmx -msse -msse2 -minline-all-stringops -fprefetch-loop-arrays -funroll-loops + CXXFLAGS=$(CFLAGS) -fno-check-new +endif +#others ? i'm sorry i don't have ppc and others arch ifneq (, $(findstring smp2,$(DEB_BUILD_OPTIONS))) MAKEFLAGS=-j2 @@ -26,7 +33,7 @@ @if [ -z "$(CXXFLAGS)" ] ; then CXXFLAGS="$(CXXFLAGS)" ; fi ; CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ ./configure --prefix=/usr $(CONFFLAGS) - + build: build-stamp build-stamp: config.status $(checkdir) @@ -59,7 +66,7 @@ dh_fixperms -a dh_compress -a - # Since Cinelerra is far from stable, I prefer leaving the debug info +# Since Cinelerra is far from stable, I prefer leaving the debug info dh_strip -a strip -x -s -R .comment -R .note debian/cinelerra/usr/lib/cinelerra/*.so @@ -78,7 +85,7 @@ dh_gencontrol dh_builddeb - + binary: binary-indep binary-arch
