Package: libgtop2
Version: 2.28.0-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD.
The problem is due to cleanup in GNU/kFreeBSD world :-(

Please apply patch bellow and run "autoreconf -vfi".

It would also be nice if you can ask upstream
to include this fixup - sync with the rest of *BSD world.


Thanks in advance

                        Petr


--- libgtop2-2.28.0.orig/libgtop-sysdeps.m4
+++ libgtop2-2.28.0/libgtop-sysdeps.m4
@@ -148,13 +148,8 @@

        case "$host_os" in
        *bsd*)
-               case "$host_os" in
-               *kfreebsd*)
-               AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS="-lkvm -lfreebsd -lbsd", 
KVM_LIBS=, -lfreebsd -lbsd);;
-               *)
-               AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=);;
-               esac
-
+
+         AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=)
          AC_SUBST(KVM_LIBS)

          case "$host_os" in




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to