Bug#512277: gnat-4.3: kfreebsd-i386 - libraries are not supported on this platform
Package: gnat-4.3
Severity: important
Version: 4.3.2-1.1
User: glibc-bsd-devel@lists.alioth.debian.org
Usertags: kfreebsd
The build logs for kfreebsd-i386 of packages like adabrowse and asis says
"libraries are not supported on this platform".
I suspect, it is due to missing case in libgnatprj/configure.ac.
Please could you take a look on attached patch.
The gnat for kfreebsd-amd64 have not yet been bootstrapped,
but the linking should be the same.
The patch is only a wild guess, I am not sure whether it suffices.
Unfortunately I do not have kfreebsd-i386 box handy.
Thanks for considering it.
Petr
--- debian/patches/ada-libgnatprj.dpatch~ 2009-01-19 10:07:35.000000000 +0100
+++ debian/patches/ada-libgnatprj.dpatch 2009-01-19 10:12:26.000000000 +0100
@@ -251,7 +251,7 @@
===================================================================
--- /dev/null
+++ libgnatprj/configure
-@@ -0,0 +1,3139 @@
+@@ -0,0 +1,3141 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.61.
@@ -2307,7 +2307,9 @@
+ | sparc*-*-linux* \
+ | hppa*-*-linux* \
+ | mips*-*-linux* \
-+ | *x86_64-*-linux*)
++ | *x86_64-*-linux* \
++ | *86-*-kfreebsd*-gnu \
++ | *x86_64-*-kfreebsd*-gnu )
+ TOOLS_TARGET_PAIRS="\
+ mlib-tgt-specific.adb<mlib-tgt-linux.adb \
+ indepsw.adb<indepsw-gnu.adb"
@@ -4663,7 +4665,7 @@
===================================================================
--- /dev/null
+++ libgnatprj/configure.ac
-@@ -0,0 +1,145 @@
+@@ -0,0 +1,147 @@
+# Configure script for libada.
+# Copyright 2003, 2004 Free Software Foundation, Inc.
+#
@@ -4747,7 +4749,9 @@
+ | sparc*-*-linux* \
+ | hppa*-*-linux* \
+ | mips*-*-linux* \
-+ | *x86_64-*-linux*)
++ | *x86_64-*-linux* \
++ | *86-*-kfreebsd*-gnu \
++ | *x86_64-*-kfreebsd*-gnu )
+ TOOLS_TARGET_PAIRS="\
+ mlib-tgt-specific.adb<mlib-tgt-linux.adb \
+ indepsw.adb<indepsw-gnu.adb"
Reply to: