pkgsrc-Bugs archive

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

pkg/44143: [patch] Add otr and libpurple to bitlbee-3.0



>Number:         44143
>Category:       pkg
>Synopsis:       [patch] Add otr and libpurple to bitlbee-3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 24 02:25:00 +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@localhost:/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
  



Home | Main Index | Thread Index | Old Index