5340a33367
This needs glib2 to run, and glib2 depends on perl, so no reason not to support perl scripting here. Requested by Dominik Bialy in PR 52008. Bump PKGREVISION.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: options.mk,v 1.13 2017/02/26 22:16:57 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.irssi
|
|
PKG_SUPPORTED_OPTIONS= inet6 perl ssl
|
|
PKG_SUGGESTED_OPTIONS= inet6 perl ssl
|
|
PKG_OPTIONS_LEGACY_OPTS+= irssi-perl:perl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mperl)
|
|
USE_TOOLS+= perl:run
|
|
PERL5_PACKLIST= auto/Irssi/.packlist
|
|
PERL5_PACKLIST+= auto/Irssi/Irc/.packlist
|
|
PERL5_PACKLIST+= auto/Irssi/UI/.packlist
|
|
PERL5_PACKLIST+= auto/Irssi/TextUI/.packlist
|
|
.include "../../lang/perl5/packlist.mk"
|
|
.include "../../lang/perl5/buildlink3.mk"
|
|
# actually we don't need --with-perl here, irssi is compiled with it by default
|
|
# but who knows what may happen in future versions
|
|
CONFIGURE_ARGS+= --with-perl
|
|
CONFIGURE_ARGS+= --with-perl-lib=vendor
|
|
.else
|
|
CONFIGURE_ARGS+= --with-perl=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
.endif
|