diff options
author | tron <tron@pkgsrc.org> | 2001-09-26 18:48:53 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-09-26 18:48:53 +0000 |
commit | 415261b3005afff1cdadc04ffb6043db2746a16b (patch) | |
tree | d8b1719a98efa80def56030b3814c1320a73e910 /chat | |
parent | 8cc98f5d82b393721c5fb57bd3c0659ad4bfa388 (diff) | |
download | pkgsrc-415261b3005afff1cdadc04ffb6043db2746a16b.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')
-rw-r--r-- | chat/xchat/Makefile | 18 |
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: |