Package: alex
Version: 2.0.1-1
Severity: important
Tags: patch
Hi,
alex currently fails to build on GNU/kFreeBSD due to missing support
for this architecture. The attached patch fix that. Note that
config.{guess,sub} also needs to be update with a more recent version,
for example from the versions provided in autotools-dev.
Could you please do that in the next upload?
Thanks,
Aurelien
-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages alex depends on:
ii libc0.1 2.3-1+kbsd.11 GNU C Library: Shared libraries an
ii libgmp3c2 4.1.4-10+libtool Multiprecision arithmetic library
alex recommends no packages.
-- no debconf information
Author: aurel32
Status: in BTS
Note: Needs config.{guess,sub} update
--- alex-2.0.1.orig/configure.ac
+++ alex-2.0.1/configure.ac
@@ -188,6 +188,15 @@
HostVendor_CPP='unknown'
HostOS_CPP='linux'
;;
+i[3456]86-*-kfreebsd*-gnu)
+ HostPlatform=i386-unknown-kfreebsdgnu # hack again
+ TargetPlatform=i386-unknown-kfreebsdgnu
+ BuildPlatform=i386-unknown-kfreebsdgnu
+ HostPlatform_CPP='i386_unknown_kfreebsdgnu'
+ HostArch_CPP='i386'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='kfreebsdgnu'
+ ;;
i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF
HostPlatform=i386-unknown-freebsd # hack again
TargetPlatform=i386-unknown-freebsd
--- alex-2.0.1.orig/configure
+++ alex-2.0.1/configure
@@ -1577,6 +1577,15 @@
HostVendor_CPP='unknown'
HostOS_CPP='linux'
;;
+i[3456]86-*-kfreebsd*-gnu)
+ HostPlatform=i386-unknown-kfreebsdgnu # hack again
+ TargetPlatform=i386-unknown-kfreebsdgnu
+ BuildPlatform=i386-unknown-kfreebsdgnu
+ HostPlatform_CPP='i386_unknown_kfreebsdgnu'
+ HostArch_CPP='i386'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='kfreebsdgnu'
+ ;;
i[3456]86-*-freebsd[3-9]*) # FreeBSD 3.0+ uses ELF
HostPlatform=i386-unknown-freebsd # hack again
TargetPlatform=i386-unknown-freebsd