Package: gmt
Version: 4.5.7-2
Severity: normal
User: [email protected]
Usertags: hurd
Tags: patch
Hi,
Currently gmt fails to build on Debian GNU/Hurd.
Attached is a patch for building on Hurd. (Pretty much same patch as kfreebsd).
Thank you,
Barry deFreese
Index: gmt-4.5.7/configure
===================================================================
--- gmt-4.5.7.orig/configure 2012-06-04 20:35:53.000000000 +0000
+++ gmt-4.5.7/configure 2012-06-04 21:35:14.000000000 +0000
@@ -11390,7 +11390,7 @@
else # Solaris
LD_OPT="-G"
fi
- elif test "$os" = "Linux" || test "$os" = "GNU/kFreeBSD"; then # Need
optimization when doing shared
+ elif test "$os" = "Linux" || test "$os" = "GNU/kFreeBSD" || test "$os"
= "GNU" ; then # Need optimization when doing shared
LD='$(CC)'
SL_VERSION=$SL.$LIB_MAJOR_VERSION
LD_OPT='-shared -Wl,-soname=$*.'$SL_VERSION