pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44194: [PATCH] sysutils/dbus: DragonFly BSD also has kqueue



>Number:         44194
>Category:       pkg
>Synopsis:       [PATCH] sysutils/dbus: DragonFly BSD also has kqueue
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 05 17:55:00 +0000 2010
>Originator:     Rumko
>Release:        /
>Organization:
>Environment:
DragonFly rumko.rumko.net 2.7-DEVELOPMENT DragonFly 
v2.7.3.81.ga3fa5-DEVELOPMENT #122: Wed Jun  2 09:23:28 CEST 2010     
root%rumko.rumko.net@localhost:/usr/obj/usr/src/sys/MYPRECIOUS  i386
>Description:
Some time ago options.mk was changed so that the "kqueue" option was available 
and suggested on only a few selected platforms, while before it was suggested 
on selected platforms, but was available everywhere. Recent tests (have been 
running with the kqueue option enabled for quite some time) suggest that kqueue 
is a viable option on DragonFly BSD as well.
>How-To-Repeat:

>Fix:
Patch available at 
http://www.rumko.net/pkgsrc/0002-sysutils-dbus-DragonFly-BSD-also-has-a-useful-kqueue.patch
 and also inlined:
From 2bd1f281cdaee5a9c526d2e531aab517565bd210 Mon Sep 17 00:00:00 2001
From: Rumko <rumcic%gmail.com@localhost>
Date: Fri, 12 Nov 2010 10:51:32 +0100
Subject: [PATCH 2/3] sysutils/dbus: DragonFly BSD also has a useful kqueue

Before, the kqueue option was available everywhere, but just was
suggested only on whitelisted platforms. Since DragonFly BSD also
has a working kqueue implementatin, add it to the whitelist.
---
 sysutils/dbus/options.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sysutils/dbus/options.mk b/sysutils/dbus/options.mk
index 6ffd225..cb56082 100644
--- a/sysutils/dbus/options.mk
+++ b/sysutils/dbus/options.mk
@@ -6,7 +6,8 @@ PKG_SUGGESTED_OPTIONS=  x11

 .if (${OPSYS} == "NetBSD"  ||  \
      ${OPSYS} == "FreeBSD" ||  \
-     ${OPSYS} == "OpenBSD")
+     ${OPSYS} == "OpenBSD" ||  \
+     ${OPSYS} == "DragonFly")
 PKG_SUPPORTED_OPTIONS+=        kqueue
 PKG_SUGGESTED_OPTIONS+=        kqueue
 .endif
--
1.7.3.2



Home | Main Index | Thread Index | Old Index