Bug#403772: netcdf: FTBFS on GNU/kFreeBSD
Package: netcdf
Severity: important
Version: 3.6.1-0.1
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs updated config.guess, config.sub
and small tweak for aclocal.m4/configure, see bellow.
For config.guess and config.sub is needed a version
from last year, which is available in the autotools-dev
packages that are in current sarge, etch and sid.
You can simply copy them manually, but it can also be done
automatically using the method described in
/usr/share/doc/autotools-dev/README.Debian.gz
Please, update all occurences of config.sub/config.guess,
"find . -name config.sub -o -name config.guess" is your friend.
It would also be nice if you can ask upstream
to include this changes.
Thanks in advance
Petr
--- src/aclocal.m4~ 2006-12-19 19:24:13.000000000 +0100
+++ src/aclocal.m4 2006-12-19 19:24:13.000000000 +0100
@@ -945,7 +945,7 @@
#
WHATIS=whatis
case `uname -sr` in
- BSD/OS*|FreeBSD*)
+ BSD/OS*|*FreeBSD*)
# Can't generate a user-database -- only /usr/share/man/whatis.db.
MAKEWHATIS_CMD=
;;
--- src/configure~ 2006-12-19 19:25:17.000000000 +0100
+++ src/configure 2006-12-19 19:25:17.000000000 +0100
@@ -11009,7 +11009,7 @@
#
WHATIS=whatis
case `uname -sr` in
- BSD/OS*|FreeBSD*)
+ BSD/OS*|*FreeBSD*)
# Can't generate a user-database -- only /usr/share/man/whatis.db.
MAKEWHATIS_CMD=
;;
Reply to: