Bug#676147: gmt: FTBFS on Debian GNU/Hurd [patch attached]

Barry deFreese bdefreese at debian.org
Tue Jun 5 02:20:23 UTC 2012


Package: gmt
Version: 4.5.7-2
Severity: normal
User: debian-hurd at lists.debian.org
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
-------------- next part --------------
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


More information about the Pkg-grass-devel mailing list