Package: bmagic
Version: 3.4.0-2
Severity: normal
Tags: patch

When building 'bmagic' on amd64/unstable, I get the following error:

# Add here commands to clean up after the build process.
env PROJECT_DIR=`pwd` /usr/bin/make clean
make[1]: Entering directory `/bmagic-3.4.0'
tests/stress
Sorry! This platform (x86_64-unknown-linux-gnu) is unsupported.
../../makefile.in:67: /bmagic-3.4.0/platforms/.mk: No such file or directory
Sorry! This platform (x86_64-unknown-linux-gnu) is unsupported.
make[2]: *** No rule to make target `/bmagic-3.4.0/platforms/.mk'.  Stop.
make[1]: *** [.DIRS_BLD] Error 127
make[1]: Leaving directory `/bmagic-3.4.0'
make: *** [clean-patched] Error 2

With the attached patch 'bmagic' can be built on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/bmagic-3.4.0/canon-system ./canon-system
--- ../tmp-orig/bmagic-3.4.0/canon-system       2003-03-28 00:42:44.000000000 
+0000
+++ ./canon-system      2006-08-14 12:20:37.000000000 +0000
@@ -30,7 +30,7 @@
        echo intel-unixware7
        exit 0;;
 
-   i[34567]86-*-linux-gnu*)
+   i[34567]86-*-linux-gnu*|x86_64-*-linux-gnu*)
        echo intel-linux-gnu
        exit 0;;
 
diff -urN ../tmp-orig/bmagic-3.4.0/platforms/intel-linux-gnu.mk 
./platforms/intel-linux-gnu.mk
--- ../tmp-orig/bmagic-3.4.0/platforms/intel-linux-gnu.mk       2004-05-14 
23:52:00.000000000 +0000
+++ ./platforms/intel-linux-gnu.mk      2006-08-14 12:21:12.000000000 +0000
@@ -10,8 +10,8 @@
     COMMON_LDFLAGS = $(LINKER_DFLAGS) -export-dynamic
     COMMON_CLDFLAGS = $(COMMON_LDFLAGS)
     EXTERN_LIBS = $(EXTERN_LIBS_BASE)/lib
-    CXX = g++ -mcpu=pentiumpro -march=pentiumpro -Wall 
-    CC = gcc -mcpu=pentiumpro -march=pentiumpro -Wall 
+    CXX = g++ -Wall 
+    CC = gcc -Wall 
     LD = g++
     CC_PIC_FLAGS = -fPIC
     CXX_PIC_FLAGS = -fPIC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to