diff options
author | veego <veego@pkgsrc.org> | 2002-06-08 23:49:39 +0000 |
---|---|---|
committer | veego <veego@pkgsrc.org> | 2002-06-08 23:49:39 +0000 |
commit | 45dcf393b39dec07990cae6e012a1a520464f664 (patch) | |
tree | bca39cbd7771c8224b5264f1f426a5e5a05a9e7b /chat/irssi | |
parent | b6eac62e5b81d2b1b147c0d7f2ac7037e7e440de (diff) | |
download | pkgsrc-45dcf393b39dec07990cae6e012a1a520464f664.tar.gz |
Fix the perl support.
Looks like noone ever tried to used it, because it was badly broken and
wouldn't even be compiled in, due too a missing include of mk/bsd.prefs.mk.
So, no need to bump the pkgversion to nb1.
Diffstat (limited to 'chat/irssi')
-rw-r--r-- | chat/irssi/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile index 328d7f6e264..e8414b22746 100644 --- a/chat/irssi/Makefile +++ b/chat/irssi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2002/05/25 20:06:01 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2002/06/08 23:49:39 veego Exp $ DISTNAME= irssi-0.8.4a PKGNAME= irssi-0.8.4.1 @@ -19,11 +19,18 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-terminfo \ --enable-ipv6 -.if defined(IRSSI_USE_PERL) && ${IRSSI_USE_PERL} == "YES" -USE_PERL5= # defined +.include "../../mk/bsd.prefs.mk" + +.if defined(IRSSI_USE_PERL) && (${IRSSI_USE_PERL} == "YES") +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Irssi/.packlist +PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/Irc/.packlist +PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/UI/.packlist +PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/TextUI/.packlist +.include "../../lang/perl5/buildlink.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=site .else CONFIGURE_ARGS+= --with-perl=no .endif |