summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorveego <veego>2002-06-08 23:49:39 +0000
committerveego <veego>2002-06-08 23:49:39 +0000
commita917a8e89480ef05c1308e1d94571c18768950f0 (patch)
treebca39cbd7771c8224b5264f1f426a5e5a05a9e7b /chat
parenta0824c84d9cdc6c1a98229b6d23cb57562144080 (diff)
downloadpkgsrc-a917a8e89480ef05c1308e1d94571c18768950f0.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')
-rw-r--r--chat/irssi/Makefile13
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