diff options
Diffstat (limited to 'sysutils/torsmo/patches/patch-ad')
-rw-r--r-- | sysutils/torsmo/patches/patch-ad | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/sysutils/torsmo/patches/patch-ad b/sysutils/torsmo/patches/patch-ad index 09d0f0ba05a..44e7440462a 100644 --- a/sysutils/torsmo/patches/patch-ad +++ b/sysutils/torsmo/patches/patch-ad @@ -1,8 +1,34 @@ -$NetBSD: patch-ad,v 1.1 2006/10/05 02:53:55 rillig Exp $ +$NetBSD: patch-ad,v 1.2 2007/02/19 19:50:48 joerg Exp $ ---- configure.orig 2006-10-05 04:52:34.000000000 +0200 -+++ configure 2006-10-05 04:53:06.000000000 +0200 -@@ -924,14 +924,14 @@ fi +--- configure.orig 2004-12-21 21:57:05.000000000 +0000 ++++ configure +@@ -795,11 +795,15 @@ fi + + uname=`uname` + ++if test "$uname" = "DragonFly"; then ++ LIBS="$LIBS -lkinfo" ++fi ++ + case $uname in + Linux*) + WANT_SYSINFO=yes + ;; +- FreeBSD*) ++ FreeBSD*|DragonFly*) + WANT_KVM=yes + ;; + NetBSD*) +@@ -839,7 +843,7 @@ else + fi + + +-if test x$uname = xFreeBSD; then ++if test x$uname = xFreeBSD || test x$uname = xDragonFly; then + BUILD_FREEBSD_TRUE= + BUILD_FREEBSD_FALSE='#' + else +@@ -924,14 +928,14 @@ fi @@ -19,7 +45,7 @@ $NetBSD: patch-ad,v 1.1 2006/10/05 02:53:55 rillig Exp $ cat >> confdefs.h <<\EOF #define SETI 1 EOF -@@ -949,14 +949,14 @@ fi +@@ -949,14 +953,14 @@ fi |