NetBSD Problem Report #44143

From www@NetBSD.org  Wed Nov 24 02:21:27 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0A44863BAE5
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Nov 2010 02:21:27 +0000 (UTC)
Message-Id: <20101124022126.AF87263B95F@www.NetBSD.org>
Date: Wed, 24 Nov 2010 02:21:26 +0000 (UTC)
From: suntsu@suntsu.org
Reply-To: suntsu@suntsu.org
To: gnats-bugs@NetBSD.org
Subject: [patch] Add otr and libpurple to bitlbee-3.0
X-Send-Pr-Version: www-1.0

>Number:         44143
>Category:       pkg
>Synopsis:       [patch] Add otr and libpurple to bitlbee-3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tonio
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 24 02:25:00 +0000 2010
>Last-Modified:  Wed Nov 24 09:52:17 +0000 2010
>Originator:     Sascha Schneider
>Release:        5.1_RC3
>Organization:
>Environment:
NetBSD machine.name 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Sat Jun 12 20:26:01 UTC 2010  builds@b8.netbsd.org:/home/builds/ab/netbsd-5-1-RC3/amd64/201006130031Z-obj/home/builds/ab/netbsd-5-1-RC3/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
bitlbee-3.0 as is does not make use of libotr and libpurple, which are new to the mainstream bitlbee. I created a small patch to make bitlbee configure and build with them and it seems to work OK.
>How-To-Repeat:

>Fix:
*** Makefile    Wed Nov 24 03:16:50 2010
--- Makefile.bitlbee3   Wed Nov 24 03:14:38 2010
***************
*** 60,66 ****
  .endfor

  PKG_OPTIONS_VAR=      PKG_OPTIONS.bitlbee
! PKG_SUPPORTED_OPTIONS=        inet6
  .include "../../mk/bsd.options.mk"

  .if !empty(PKG_OPTIONS:Minet6)
--- 60,66 ----
  .endfor

  PKG_OPTIONS_VAR=      PKG_OPTIONS.bitlbee
! PKG_SUPPORTED_OPTIONS=        inet6 libpurple otr
  .include "../../mk/bsd.options.mk"

  .if !empty(PKG_OPTIONS:Minet6)
***************
*** 69,74 ****
--- 69,88 ----
  CONFIGURE_ARGS+=      --ipv6=0
  .endif

+ .if !empty(PKG_OPTIONS:Mlibpurple)
+ CONFIGURE_ARGS+=      --purple=1
+ .include "../../chat/libpurple/buildlink3.mk"
+ .else
+ CONFIGURE_ARGS+=        --purple=0
+ .endif
+ 
+ .if !empty(PKG_OPTIONS:Motr)
+ CONFIGURE_ARGS+=      --otr=1
+ .include "../../chat/libotr/buildlink3.mk"
+ .else
+ CONFIGURE_ARGS+=        --otr=0
+ .endif
+ 
  RCD_SCRIPTS=          bitlbee
  RCD_SCRIPT_SRC.estd=  ${FILESDIR}/bitlbee.sh


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tonio
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 24 Nov 2010 09:52:17 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.