From cfac3acc7235e9cfa0fa7f815b16d0b79347677c Mon Sep 17 00:00:00 2001 From: Clive Lin Date: Sun, 28 Jan 2001 22:23:25 +0000 Subject: o Add IPV6 support, patch by Henk Wevers o Fix typo PR: 24644 Submitted by: MAINTAINER o Don't support esound if there's no GNOME o Don't display BX's WITH_(.*) switch which one is already defined o Satisfy portlint o Chase checksum and bump PORTREVISION. There is a improvement in this new distfile Reviewed and approved by: MAINTAINER --- irc/bitchx/Makefile | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'irc/bitchx/Makefile') diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile index d084e61bac7c..f497df003cb6 100644 --- a/irc/bitchx/Makefile +++ b/irc/bitchx/Makefile @@ -7,7 +7,7 @@ PORTNAME= BitchX PORTVERSION= 1.0c17 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc gnome MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \ ftp://ftp.bitchx.org/pub/BitchX/source/ @@ -37,11 +37,14 @@ CONFIGURE_ARGS+=--with-gtk .else CONFIGURE_ARGS+=--without-gtk .endif -.if defined(HAVE_ESOUND) +.if (defined(HAVE_ESOUND) && defined(HAVE_GNOME)) USE_ESOUND= yes CONFIGURE_ARGS+=--enable-sound .endif - +.if defined(HAVE_IPV6) +USE_IPV6= yes +CONFIGURE_ARGS+=--enable-ipv6 +.endif .if defined(WITH_TCL) BUILD_DEPENDS+= ${LOCALBASE}/include/tcl8.3/tcl.h:${PORTSDIR}/lang/tcl83 CONFIGURE_ARGS+=--with-tcl \ @@ -53,8 +56,8 @@ post-extract: .endif .if defined(WITH_SOCKS5) -BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a${PORTSDIR}/net/socks5 -CONFIGURE_ARGS+=--with-socks5=${LOCALBASE} +BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 +CONFIGURE_ARGS+= --with-socks5=${LOCALBASE} CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" .endif @@ -74,10 +77,21 @@ pre-patch: pre-extract: @${ECHO} "Available switches:" @${ECHO} "-------------------" +.if !defined(WITH_PLUGINS) @${ECHO} "WITH_PLUGINS - Build the plugins" +.endif +.if !defined(WITH_LATIN) @${ECHO} "WITH_LATIN - Recommended if you are using an ISO-8859-1 display" +.endif +.if !defined(WITH_TCL) @${ECHO} "WITH_TCL - Build BitchX with TCL scripting" +.endif +.if !defined(WITH_SOCKS5) @${ECHO} "WITH_SOCKS5 - Build BitchX with SOCKS5 support" +.endif +.if !defined(WITH_IPV6) + @${ECHO} "WITH_IPV6 - Build BitchX with IPV6 support" +.endif post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3