Package: stalin
Severity: important
Version: 0.11-2
Tags: patch

Hi,

the current version still fails to build on GNU/kFreeBSD.

For kfreebsd-i386 is sufficient (already noted in #314857):

--- debian/patches/misc.diff~   2007-02-01 15:07:01.000000000 +0100
+++ debian/patches/misc.diff    2007-02-01 15:07:01.000000000 +0100
@@ -120,7 +120,7 @@
 +    echo "Please install the dpkg-dev package."
 +    exit 1
 +  fi
-+  echo `dpkg-architecture -qDEB_BUILD_ARCH`
++  echo `dpkg-architecture -qDEB_HOST_ARCH_CPU`
 +  exit 0
 +fi
 +


For kfreebsd-amd64 is needed tweak in debian/rules.
Please rename host_arch into host_cpu to be sync with (linux-)amd64:

****

host_cpu    := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

ifeq ($(host_cpu),amd64)
  cc_optimization := -O1
else
  cc_optimization := -O2
endif

****

Finally, plain gc6.8 does not support kfreebsd-amd64.
In 0.11-2 you changed libgc from external into internal copy.
Please put patch from #405669 into i.e. debian/patches/libgc-kfreebsd-amd64.diff
and in ./build add "patch -p1 < ../debian/patches/libgc-kfreebsd-amd64.diff"
just after "cd gc6.8". This patch is accepted upstream, see
http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2007-January/001538.html


Thanks in advance

                        Petr



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

Reply via email to