diff options
author | hubertf <hubertf> | 2002-04-12 01:50:34 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-04-12 01:50:34 +0000 |
commit | add7f52d97cb5615b7531db9092e18d173b4925a (patch) | |
tree | 0359e2ebe3dcc2f3a9c1c347a7e734ba29ec04fc /chat | |
parent | 525f5e97c9c7a7237ea518844084a57f056b5510 (diff) | |
download | pkgsrc-add7f52d97cb5615b7531db9092e18d173b4925a.tar.gz |
Allow compiling in perl support for scripts.
Patch submitted by dawszy@ailuj.openbsd.org.pl in private mail.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/irssi/Makefile | 16 |
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 |