NetBSD Problem Report #38946
From www@NetBSD.org Thu Jun 12 14:49:39 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id BA2CD63B89E
for <gnats-bugs@gnats.netbsd.org>; Thu, 12 Jun 2008 14:49:38 +0000 (UTC)
Message-Id: <20080612144938.5D66B63B842@narn.NetBSD.org>
Date: Thu, 12 Jun 2008 14:49:38 +0000 (UTC)
From: zakame@zakame.net
Reply-To: zakame@zakame.net
To: gnats-bugs@NetBSD.org
Subject: weechat: add perl and ruby plugin support
X-Send-Pr-Version: www-1.0
>Number: 38946
>Category: pkg
>Synopsis: weechat: add perl and ruby plugin support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: tonio
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jun 12 14:50:00 +0000 2008
>Closed-Date: Sat Jul 18 06:21:39 +0000 2009
>Last-Modified: Sat Jul 18 06:21:39 +0000 2009
>Originator: Zak B. Elep
>Release: CURRENT
>Organization:
>Environment:
Darwin alteran.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
>Description:
I'm using pkgsrc on a Macbook (I used MacPorts previously,) and I wanted to use chat/weechat as my IRC client. However, in my previous installation I used WeeChat's Perl plugin, and now in pkgsrc chat/weechat it has does not have Perl plugin enabled, due to this bit in the Makefile:
CONFIGURE_ARGS+= --disable-ruby --disable-perl --disable-aspell
I understand that this line also stops Ruby support, which would have been nice too. So, I would like chat/weechat to have optional Perl and Ruby support just like what it currently does for Python and Lua (as seen in `bmake show-options`.)
>How-To-Repeat:
1. cd pkgsrc/chat/weechat
2. bmake install clean clean-depends
3. weechat-curses
4. '/perl' or '/ruby' on WeeChat's command/chat buffer
5. Output from #4: 'WeeChat Error: unknown command "perl" (type /help for help).' This should not be the case if Perl support was enabled.
>Fix:
1. Remove `--disable-{perl,ruby}' in Makefile's CONFIGURE_ARGS
2. Add a block in options.mk to support Perl and Ruby, similar to Python:
.if !empty(PKG_OPTIONS:Mperl)
.include "../../lang/perl5/buildlink3.mk"
CONFIGURE_ARGS+= --enable-perl
PLIST.python= yes
.else
CONFIGURE_ARGS+= --disable-perl
.endif
.if !empty(PKG_OPTIONS:Mruby)
.include "../../lang/ruby/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ruby
PLIST.python= yes
.else
CONFIGURE_ARGS+= --disable-ruby
.endif
3. Double check. I'm probably missing something here.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->tonio
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Thu, 12 Jun 2008 14:55:48 +0000
Responsible-Changed-Why:
Assign to maintainer.
From: Antoine Reilles <tonio@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38946 CVS commit: pkgsrc/chat/weechat
Date: Sat, 18 Jul 2009 06:04:33 +0000
Module Name: pkgsrc
Committed By: tonio
Date: Sat Jul 18 06:04:33 UTC 2009
Modified Files:
pkgsrc/chat/weechat: Makefile PLIST distinfo options.mk
Log Message:
Update chat/weechat to 0.2.6.3
Add perl and ruby options, fix PR pkg/38946
Changelog:
* 2009-06-13
WeeChat 0.2.6.3 released.
This version fixes gnutls detection.
* 2009-04-18
WeeChat 0.2.6.2 released.
This version fixes a bug with charset decoding (like iso2022jp).
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/chat/weechat/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/chat/weechat/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/chat/weechat/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/chat/weechat/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: tonio@NetBSD.org
State-Changed-When: Sat, 18 Jul 2009 06:21:39 +0000
State-Changed-Why:
A very similar fix was applied.
Thanks for the PR !
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.