tags +patch thanks The latest upload introduced some broken make definitions in debian/rules. DEB_HOST_ARCH was never defined, and DEB_BUILD_ARCH is more useful for cross compilation, which isn't supported in the package.
This causes the 64bit tar to be used on at least some 32bit architectures. The appended patch fixes it, and removes the fantasy names for 64bit mips. The n32/n64 mips names aren't decided yet, but probably won't use the already heavily overloaded mips64 term. Thiemo --- oo2c-1.5.9.orig/debian/rules 2005-05-01 21:58:14.000000000 +0200 +++ oo2c-1.5.9/debian/rules 2005-05-01 21:48:18.000000000 +0200 @@ -6,9 +6,9 @@ # disable all threading THREADS := -DEB_BUILD_ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) -ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_BUILD_ARCH),alpha amd64 ia64 sparc64 mips64 mipsel64 s390x ppc64)) +ifneq (,$(filter $(DEB_HOST_ARCH),alpha amd64 ia64 sparc64 s390x ppc64)) COPTFLAGS := -O1 USE_TARBALL := oo2c_64.tar.gz else @@ -16,13 +16,13 @@ else USE_TARBALL := oo2c_32.tar.gz endif -ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_BUILD_ARCH),arm)) +ifeq ($(DEB_HOST_ARCH),arm) ARM_PATCH := TRUE else ARM_PATCH := FALSE endif -ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_BUILD_ARCH),alpha)) +ifeq ($(DEB_HOST_ARCH),alpha) ALPHA_I3E := -mieee else ALPHA_I3E := -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]