Allow compiling in perl support for scripts.

Patch submitted by dawszy@ailuj.openbsd.org.pl in private mail.
This commit is contained in:
hubertf 2002-04-12 01:50:34 +00:00
parent a030337e22
commit 24e4552350
2 changed files with 19 additions and 4 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.defaults.mk,v 1.49 2002/04/04 13:58:25 seb Exp $
# $NetBSD: bsd.pkg.defaults.mk,v 1.50 2002/04/12 01:50:34 hubertf Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@ -722,6 +722,11 @@ IRCD_HYBRID_NETWORK_DESC?= Package Source Network
# Default: not defined
# [XXX: configure will locate pgpv or pgp]
#IRSSI_USE_PERL= YES
# Build irssi with perl so you can load scripts written in perl.
# Possible: YES, not defined
# Default: not defined
#JB_FQHOSTNAME=
# Used by jitterbug package to include the fully-qualified domain name
# of the host.