option perl needs perl at runtime.diff -r1.8 -r1.9 pkgsrc/chat/irssi/options.mk
(wiz)
@@ -1,23 +1,23 @@ | @@ -1,23 +1,23 @@ | |||
1 | # $NetBSD: options.mk,v 1.8 2008/10/12 21:28:23 ahoka Exp $ | 1 | # $NetBSD: options.mk,v 1.9 2009/08/10 15:14:03 wiz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.irssi | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.irssi | |
4 | PKG_SUPPORTED_OPTIONS= inet6 perl ssl | 4 | PKG_SUPPORTED_OPTIONS= inet6 perl ssl | |
5 | PKG_OPTIONS_LEGACY_OPTS+= irssi-perl:perl | 5 | PKG_OPTIONS_LEGACY_OPTS+= irssi-perl:perl | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mperl) | 9 | .if !empty(PKG_OPTIONS:Mperl) | |
10 | USE_TOOLS+= perl | 10 | USE_TOOLS+= perl:run | |
11 | PERL5_PACKLIST= auto/Irssi/.packlist | 11 | PERL5_PACKLIST= auto/Irssi/.packlist | |
12 | PERL5_PACKLIST+= auto/Irssi/Irc/.packlist | 12 | PERL5_PACKLIST+= auto/Irssi/Irc/.packlist | |
13 | PERL5_PACKLIST+= auto/Irssi/UI/.packlist | 13 | PERL5_PACKLIST+= auto/Irssi/UI/.packlist | |
14 | PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist | 14 | PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist | |
15 | .include "../../lang/perl5/packlist.mk" | 15 | .include "../../lang/perl5/packlist.mk" | |
16 | .include "../../lang/perl5/buildlink3.mk" | 16 | .include "../../lang/perl5/buildlink3.mk" | |
17 | # 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 | |
18 | # but who knows what may happen in future versions | 18 | # but who knows what may happen in future versions | |
19 | CONFIGURE_ARGS+= --with-perl | 19 | CONFIGURE_ARGS+= --with-perl | |
20 | CONFIGURE_ARGS+= --with-perl-lib=vendor | 20 | CONFIGURE_ARGS+= --with-perl-lib=vendor | |
21 | .else | 21 | .else | |
22 | CONFIGURE_ARGS+= --with-perl=no | 22 | CONFIGURE_ARGS+= --with-perl=no | |
23 | .endif | 23 | .endif |