Please find attached an updated version of the patch suggested by Andreas Jochens.
diff -urN gcc-h8300-hms-2.95.2.2.1.old/debian/compat gcc-h8300-hms-2.95.2.2.1/debian/compat --- gcc-h8300-hms-2.95.2.2.1.old/debian/compat 1970-01-01 01:00:00.000000000 +0100 +++ gcc-h8300-hms-2.95.2.2.1/debian/compat 2006-05-30 22:18:18.000000000 +0200 @@ -0,0 +1 @@ +4 diff -urN gcc-h8300-hms-2.95.2.2.1.old/debian/rules gcc-h8300-hms-2.95.2.2.1/debian/rules --- gcc-h8300-hms-2.95.2.2.1.old/debian/rules 2001-01-28 08:51:17.000000000 +0100 +++ gcc-h8300-hms-2.95.2.2.1/debian/rules 2006-05-30 22:19:01.000000000 +0200 @@ -9,9 +9,6 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 -# This is the debhelper compatability version to use. -export DH_COMPAT=2 - # This has to be exported to make some magic below work. export DH_OPTIONS @@ -27,7 +24,13 @@ CROSS_TOOL := h8300-hitachi-hms # attempt at being platform independent... -CONFIG_HOST := ${DEB_BUILD_GNU_CPU}-pc-${DEB_BUILD_GNU_SYSTEM}-gnu +CONFIG_HOST := ${DEB_BUILD_GNU_CPU}-pc-${DEB_BUILD_GNU_SYSTEM} +ifeq ($(DEB_BUILD_GNU_CPU),powerpc64) +CONFIG_HOST := powerpc-pc-${DEB_BUILD_GNU_SYSTEM} +endif +ifeq ($(DEB_BUILD_GNU_CPU),x86_64) +CONFIG_HOST := i486-pc-${DEB_BUILD_GNU_SYSTEM} +endif srcdir := $(pwd)/src stampdir := stamps diff -urN gcc-h8300-hms-2.95.2.2.1.old/debian/rules.unpack gcc-h8300-hms-2.95.2.2.1/debian/rules.unpack --- gcc-h8300-hms-2.95.2.2.1.old/debian/rules.unpack 2001-01-06 08:55:01.000000000 +0100 +++ gcc-h8300-hms-2.95.2.2.1/debian/rules.unpack 2006-05-30 22:10:05.000000000 +0200 @@ -38,4 +38,4 @@ rmdir $(gcc_srcdir) echo "$(gcc_tarball) unpacked." > $@ -.PHONEY: unpack +.PHONY: unpack
signature.asc
Description: Digital signature