summaryrefslogtreecommitdiff
path: root/chat/xchat
diff options
context:
space:
mode:
authortron <tron>2001-09-26 18:48:53 +0000
committertron <tron>2001-09-26 18:48:53 +0000
commite7d1799053ab5212051d6e38064ab122e1df95ea (patch)
treed8b1719a98efa80def56030b3814c1320a73e910 /chat/xchat
parent19dc12013dcf888d457650721495c1a6534f9438 (diff)
downloadpkgsrc-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".
Diffstat (limited to 'chat/xchat')
-rw-r--r--chat/xchat/Makefile18
1 files changed, 17 insertions, 1 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: