From 24e455235040c4ba89e21b8a4a753808e2863567 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 12 Apr 2002 01:50:34 +0000 Subject: Allow compiling in perl support for scripts. Patch submitted by dawszy@ailuj.openbsd.org.pl in private mail. --- chat/irssi/Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'chat') 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 -- cgit v1.2.3