summaryrefslogtreecommitdiff
path: root/chat/irssi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/irssi/Makefile')
-rw-r--r--chat/irssi/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile
index 960217dc64a..bbfda770c83 100644
--- a/chat/irssi/Makefile
+++ b/chat/irssi/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2002/03/20 00:39:19 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2002/04/12 01:50:34 hubertf Exp $
DISTNAME= irssi-0.8.4
+PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://www.irssi.org/files/
@@ -13,9 +14,18 @@ BUILD_DEFS+= USE_INET6
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-perl=no \
- --with-terminfo \
+CONFIGURE_ARGS+= --with-terminfo \
--enable-ipv6
+
+.if defined(IRSSI_USE_PERL) && ${IRSSI_USE_PERL} == "YES"
+USE_PERL5= # defined
+# 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
+.else
+CONFIGURE_ARGS+= --with-perl=no
+.endif
+
USE_BUILDLINK_ONLY= yes
USE_CONFIG_WRAPPER= yes