Sanitize the perl option's name (irssi-perl -> perl). Now -perl affects this package too. Submitted by Leonardo Taccari.diff -r1.7 -r1.8 pkgsrc/chat/irssi/options.mk
(ahoka)
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.irssi | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.irssi | |
4 | PKG_SUPPORTED_OPTIONS= inet6 irssi-perl ssl | 4 | PKG_SUPPORTED_OPTIONS= inet6 perl ssl | |
5 | PKG_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) | |
9 | USE_TOOLS+= perl | 10 | USE_TOOLS+= perl | |
10 | PERL5_PACKLIST= auto/Irssi/.packlist | 11 | PERL5_PACKLIST= auto/Irssi/.packlist | |
11 | PERL5_PACKLIST+= auto/Irssi/Irc/.packlist | 12 | PERL5_PACKLIST+= auto/Irssi/Irc/.packlist | |
12 | PERL5_PACKLIST+= auto/Irssi/UI/.packlist | 13 | PERL5_PACKLIST+= auto/Irssi/UI/.packlist | |
13 | PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist | 14 | PERL5_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 | |
18 | CONFIGURE_ARGS+= --with-perl | 19 | CONFIGURE_ARGS+= --with-perl | |
19 | CONFIGURE_ARGS+= --with-perl-lib=vendor | 20 | CONFIGURE_ARGS+= --with-perl-lib=vendor | |
20 | .else | 21 | .else | |
21 | CONFIGURE_ARGS+= --with-perl=no | 22 | CONFIGURE_ARGS+= --with-perl=no |