summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-08-01 12:52:39 +0000
committernia <nia@pkgsrc.org>2021-08-01 12:52:39 +0000
commit6ddc6040a299e44cf78cf6df037ffc61ec83f4a7 (patch)
tree60a909ed5908a0250915db6ae5d5a5f5ffecbb35 /chat
parentd43fe66a3bc7006fe049e66eeb34a38df2648a6c (diff)
downloadpkgsrc-6ddc6040a299e44cf78cf6df037ffc61ec83f4a7.tar.gz
bitchx: Build with IPv6 support.
Diffstat (limited to 'chat')
-rw-r--r--chat/bitchx/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile
index 4d8764d1e4d..77a28c9a0fd 100644
--- a/chat/bitchx/Makefile
+++ b/chat/bitchx/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2020/04/23 19:49:27 rillig Exp $
+# $NetBSD: Makefile,v 1.64 2021/08/01 12:52:39 nia Exp $
DISTNAME= bitchx-1.2.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bitchx/}
@@ -12,7 +12,13 @@ LICENSE= modified-bsd
USE_TOOLS+= bash
+.include "../../mk/bsd.prefs.mk"
+
GNU_CONFIGURE= YES
+
+.if ${IPV6_READY:tl} == "yes"
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
CONFIGURE_ARGS+= --with-ssl
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
CONFIG_SHELL= ${TOOLS_PATH.bash}