[DebianGIS-dev] Bug#448735: ogdi-dfsg: FTBFS on GNU/kFreeBSD
Petr Salinger
Petr.Salinger at seznam.cz
Wed Oct 31 12:39:54 UTC 2007
Package: ogdi-dfsg
Severity: important
Version: 3.2.0~beta1-3
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs fixup in Makefile systems.
Unfortunately this also means, that it have to be included
directly, not via dpatch (at least config/common.mak part).
It would also be nice if you can inform upstream
about this problem.
Thanks in advance
Petr
-------------- next part --------------
only in patch2:
unchanged:
--- ogdi-dfsg-3.2.0~beta1.orig/configure.in
+++ ogdi-dfsg-3.2.0~beta1/configure.in
@@ -349,5 +349,9 @@
[chmod +x ogdi-config])
AC_OUTPUT(config/generic.mak)
-mv config/generic.mak config/`uname`.mak
+target=`uname`
+if test "$target" = "GNU/kFreeBSD" ; then
+ target=Linux
+fi
+mv config/generic.mak config/$target.mak
only in patch2:
unchanged:
--- ogdi-dfsg-3.2.0~beta1.orig/configure
+++ ogdi-dfsg-3.2.0~beta1/configure
@@ -5278,5 +5875,9 @@
$ac_cs_success || { (exit 1); exit 1; }
fi
-mv config/generic.mak config/`uname`.mak
+target=`uname`
+if test "$target" = "GNU/kFreeBSD" ; then
+ target=Linux
+fi
+mv config/generic.mak config/$target.mak
only in patch2:
unchanged:
--- ogdi-dfsg-3.2.0~beta1.orig/config/common.mak.in
+++ ogdi-dfsg-3.2.0~beta1/config/common.mak.in
@@ -52,6 +52,9 @@
ifndef TARGET
TARGET = $(shell uname)
+ifeq ($(TARGET), GNU/kFreeBSD)
+TARGET = Linux
+endif
endif
#
only in patch2:
unchanged:
--- ogdi-dfsg-3.2.0~beta1.orig/config/common.mak
+++ ogdi-dfsg-3.2.0~beta1/config/common.mak
@@ -52,6 +52,9 @@
ifndef TARGET
TARGET = $(shell uname)
+ifeq ($(TARGET), GNU/kFreeBSD)
+TARGET = Linux
+endif
endif
#
More information about the Pkg-grass-devel
mailing list