Bug#675899: saods9: FTBFS on Debian GNU/Hurd [patch attached]

Barry deFreese bdefreese at debian.org
Mon Jun 4 03:14:20 UTC 2012


Package: saods9
Version: 6.2+dfsg-1
Severity: normal
User: bdefreese at debian.org
Usertags: hurd
Tags: patch

Hi,

Currently saods9 fails to build on Debian GNU/Hurd.

Attached is a patch for building on Hurd. (Added check for gnu* in blt3.0/configure).

Thank you,

Barry deFreese
-------------- next part --------------
Index: saods9-6.2+dfsg/blt3.0/configure
===================================================================
--- saods9-6.2+dfsg.orig/blt3.0/configure	2012-06-03 22:40:32.000000000 +0000
+++ saods9-6.2+dfsg/blt3.0/configure	2012-06-03 22:42:06.000000000 +0000
@@ -9916,6 +9916,15 @@
     SO_LDFLAGS=" -Wl,-Bexport"
     ;;
 
+  *-gnu*)
+    SO_CFLAGS="-fPIC"
+    SO_LD="${CC}"
+    SO_LDFLAGS='-rdynamic -shared -Wl,-E -Wl,-soname,$@'
+
+    LDFLAGS=""
+    EXTRA_LIBS="-ldl"
+    ;;
+
   *)
     build_shared="no"
     ;;


More information about the debian-science-maintainers mailing list