Package: ndoutils
Version: 1.4b7-2
Severity: important
Tags: patch
ndoutils fails to build on GNU/kFreeBSD as it is not built with -fPIC.
Please find a patch below to fix that. Could you please add it in the
next upload? Thanks in advance.
BTW, I don't see the relation between using -fPIC and the kernel. The
test is probably broken, and should look for the compiler instead.
--- ndoutils-1.4b7.orig/configure
+++ ndoutils-1.4b7/configure
@@ -5905,7 +5905,7 @@
MOD_LDFLAGS="-bundle -flat_namespace -undefined suppress"
MOD_CFLAGS="$MOD_CFLAGS -fno-common"
;;
- linux*)
+ linux* | k*bsd*-gnu*)
# assume GNU linker and ELF
MOD_LDFLAGS="-shared"
MOD_CFLAGS="-fPIC"
only in patch2:
unchanged:
--- ndoutils-1.4b7.orig/configure.in
+++ ndoutils-1.4b7/configure.in
@@ -147,7 +147,7 @@
MOD_LDFLAGS="-bundle -flat_namespace -undefined suppress"
MOD_CFLAGS="$MOD_CFLAGS -fno-common"
;;
- linux*)
+ linux* | k*bsd*-gnu*)
# assume GNU linker and ELF
MOD_LDFLAGS="-shared"
MOD_CFLAGS="-fPIC"
-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 6.3-1-em64t-p4
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]