Add optional IPv6 and OpenSSL support to the "xchat" package. Both are

turned on by default but can be turned of with "USE_INET6=NO" and
"XCHAT_USE_SSL=NO".
This commit is contained in:
tron 2001-09-26 18:48:53 +00:00
parent 8cc98f5d82
commit 415261b300
2 changed files with 23 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.10 2001/09/24 20:04:02 tron Exp $
# $NetBSD: Makefile,v 1.11 2001/09/26 18:48:53 tron Exp $
DISTNAME= xchat-1.8.3
PKGNAME= ${DISTNAME}nb1
CATEGORIES= chat x11 gnome
MASTER_SITES= ${HOMEPAGE}files/source/1.8/
EXTRACT_SUFX= .tar.bz2
@ -19,6 +20,21 @@ GNU_CONFIGURE= YES
CONFIGURE_ENV+= ac_cv_lib_intl_bindtextdomain='yes'
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
# IPv6 support
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+= --enable-ipv6
.endif
# SSL support
.if defined(XCHAT_USE_SSL) && ${XCHAT_USE_SSL} == "YES"
.include "../../security/openssl/buildlink.mk"
CONFIGURE_ARGS+= --enable-openssl=${BUILDLINK_DIR}
.endif
# Prevent invokation of "auto*" which caused build failures due to insufficient
# arguments and environment.
pre-configure:

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.defaults.mk,v 1.3 2001/09/21 19:50:28 jlam Exp $
# $NetBSD: bsd.pkg.defaults.mk,v 1.4 2001/09/26 18:48:53 tron Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@ -1088,6 +1088,11 @@ XAW_TYPE?=standard
# Possible: standard, 3d, xpm
# Default: standard
XCHAT_USE_SSL?= YES
# Enable SSL in xchat (for IRC server connections)
# Possible: YES, NO
# Default: YES
#ZIP_ENCRYPTION=
# Add encryption code to zip1
# Possible: defined, not defined