Sun Oct 12 21:28:23 2008 UTC ()
Sanitize the perl option's name (irssi-perl -> perl).
Now -perl affects this package too.

Submitted by Leonardo Taccari.


(ahoka)
diff -r1.7 -r1.8 pkgsrc/chat/irssi/options.mk

cvs diff -r1.7 -r1.8 pkgsrc/chat/irssi/options.mk (expand / switch to unified diff)

--- pkgsrc/chat/irssi/options.mk 2008/05/05 07:44:29 1.7
+++ pkgsrc/chat/irssi/options.mk 2008/10/12 21:28:23 1.8
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1# $NetBSD: options.mk,v 1.7 2008/05/05 07:44:29 adrianp Exp $ 1# $NetBSD: options.mk,v 1.8 2008/10/12 21:28:23 ahoka Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.irssi 3PKG_OPTIONS_VAR= PKG_OPTIONS.irssi
4PKG_SUPPORTED_OPTIONS= inet6 irssi-perl ssl 4PKG_SUPPORTED_OPTIONS= inet6 perl ssl
 5PKG_OPTIONS_LEGACY_OPTS+= irssi-perl:perl
5 6
6.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
7 8
8.if !empty(PKG_OPTIONS:Mirssi-perl) 9.if !empty(PKG_OPTIONS:Mperl)
9USE_TOOLS+= perl 10USE_TOOLS+= perl
10PERL5_PACKLIST= auto/Irssi/.packlist 11PERL5_PACKLIST= auto/Irssi/.packlist
11PERL5_PACKLIST+= auto/Irssi/Irc/.packlist 12PERL5_PACKLIST+= auto/Irssi/Irc/.packlist
12PERL5_PACKLIST+= auto/Irssi/UI/.packlist 13PERL5_PACKLIST+= auto/Irssi/UI/.packlist
13PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist 14PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist
14.include "../../lang/perl5/packlist.mk" 15.include "../../lang/perl5/packlist.mk"
15.include "../../lang/perl5/buildlink3.mk" 16.include "../../lang/perl5/buildlink3.mk"
16# actually we don't need --with-perl here, irssi is compiled with it by default 17# actually we don't need --with-perl here, irssi is compiled with it by default
17# but who knows what may happen in future versions 18# but who knows what may happen in future versions
18CONFIGURE_ARGS+= --with-perl 19CONFIGURE_ARGS+= --with-perl
19CONFIGURE_ARGS+= --with-perl-lib=vendor 20CONFIGURE_ARGS+= --with-perl-lib=vendor
20.else 21.else
21CONFIGURE_ARGS+= --with-perl=no 22CONFIGURE_ARGS+= --with-perl=no