diff options
author | tron <tron> | 2001-09-26 18:48:53 +0000 |
---|---|---|
committer | tron <tron> | 2001-09-26 18:48:53 +0000 |
commit | e7d1799053ab5212051d6e38064ab122e1df95ea (patch) | |
tree | d8b1719a98efa80def56030b3814c1320a73e910 | |
parent | 19dc12013dcf888d457650721495c1a6534f9438 (diff) | |
download | pkgsrc-e7d1799053ab5212051d6e38064ab122e1df95ea.tar.gz |
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".
-rw-r--r-- | chat/xchat/Makefile | 18 | ||||
-rw-r--r-- | mk/bsd.pkg.defaults.mk | 7 |
2 files changed, 23 insertions, 2 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile index 79a6ae33060..015ebd07027 100644 --- a/chat/xchat/Makefile +++ b/chat/xchat/Makefile @@ -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: diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk index 4f3bb56bd5c..988c773096c 100644 --- a/mk/bsd.pkg.defaults.mk +++ b/mk/bsd.pkg.defaults.mk @@ -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 |