Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 14:12:43 +0100 (CET)
From:      cj@vallcom.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23688: update port: irc/bitchx
Message-ID:  <200012201312.eBKDChF01738@214.norrgarden.se>
Resent-Message-ID: <200012201320.eBKDK2w35303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23688
>Category:       ports
>Synopsis:       update port: irc/bitchx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 20 05:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Carl Johan Madestrand
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:
>Description:
Patch by Donald Burr <dburr@borg-cube.com> 
to allow building with SOCKS5 support
>How-To-Repeat:
>Fix:


diff -urN /usr/ports/irc/bitchx/Makefile bitchx/Makefile
--- /usr/ports/irc/bitchx/Makefile	Tue Dec 12 13:18:09 2000
+++ bitchx/Makefile	Wed Dec 20 14:06:14 2000
@@ -2,7 +2,7 @@
 # Date created:		26 Jan 1998
 # Whom:			griffin
 #
-# $FreeBSD: ports/irc/bitchx/Makefile,v 1.26 2000/12/12 08:07:52 roam Exp $
+# $FreeBSD: ports/irc/bitchx/Makefile,v 1.25 2000/12/11 06:58:09 imp Exp $
 #
 
 PORTNAME=	BitchX
@@ -44,13 +44,19 @@
 .if defined(WITH_TCL)
 BUILD_DEPENDS+=	${LOCALBASE}/include/tcl8.3/tcl.h:${PORTSDIR}/lang/tcl83
 CONFIGURE_ARGS+=--with-tcl \
-		--with-tcl-includes=/usr/local/include/tcl8.3 \
-		--with-tcl-libs=/usr/local/lib
+		--with-tcl-includes=${LOCALBASE}/include/tcl8.3 \
+		--with-tcl-libs=${LOCALBASE}/lib
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3"
 post-extract:
 	@uudecode -p ${FILESDIR}/tcl-freebsd.o.uu > ${WRKSRC}/source/tcl.o
 .endif
 
+.if defined(WITH_SOCKS5)
+BUILD_DEPENDS+=		${LOCALBASE}/lib/libsocks5.a${PORTSDIR}/net/socks5
+CONFIGURE_ARGS+=--with-socks5=${LOCALBASE}
+CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include"
+.endif
+
 .if defined(WITH_PLUGINS)
 CONFIGURE_ARGS+=--with-plugins=pkga,possum,encrypt,hint,abot,acro,amp,blowfish,scan,wavplay,qmail,fserv,nap,qbx
 PLIST_SUB+=	PLUGINS:=""
@@ -70,6 +76,7 @@
 	@${ECHO} "WITH_PLUGINS - Build the plugins"
 	@${ECHO} "WITH_LATIN - Recommended if you are using an ISO-8859-1 display"
 	@${ECHO} "WITH_TCL - Build BitchX with TCL scripting"
+	@${ECHO} "WITH_SOCKS5 - Build BitchX with SOCKS5 support"
 
 post-install:
 .if !defined(NOPORTDOCS)

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012201312.eBKDChF01738>