Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 22:19:15 +0200
From:      "Frank Fenor" <frank@fenor.de>
To:        <FreeBSD-gnats-submit@FreeBSD.org>, <freebsd-ports-bugs@FreeBSD.org>
Subject:   Re: ports/122354: Make irc/eggdrop compile with Tcl versions other than 8.4
Message-ID:  <006501c89435$a86dba00$6401a8c0@enigma>
References:  <200804011950.m31Jo3hX042117@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0062_01C89446.6BAEF9B0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
	reply-type=original
Content-Transfer-Encoding: 7bit

I meant to put USE_TCL=80+ into the patchfile, by accident I left the 84+ in 
it. Sorry. 

------=_NextPart_000_0062_01C89446.6BAEF9B0
Content-Type: application/octet-stream;
	name="irc-eggdrop-systemtcl.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="irc-eggdrop-systemtcl.patch"

diff -Nru eggdrop.vanilla/Makefile eggdrop/Makefile
--- eggdrop.vanilla/Makefile	2007-06-15 11:37:12.000000000 +0200
+++ eggdrop/Makefile	2008-04-01 21:19:13.000000000 +0200
@@ -19,13 +19,12 @@
 MAINTAINER=	beech@FreeBSD.org
 COMMENT=	The most popular open source Internet Relay Chat bot
 
-LIB_DEPENDS=	tcl84.1:${PORTSDIR}/lang/tcl84
+USE_TCL=	80+
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--with-tcllib=${LOCALBASE}/lib/libtcl84.so \
-		--with-tclinc=${LOCALBASE}/include/tcl8.4/tcl.h
+CONFIGURE_ARGS=	--with-tcllib=${LOCALBASE}/lib/libtcl${TCL_VER:S/.//}.so \
+		--with-tclinc=${TCL_INCLUDEDIR}/tcl.h
 
 OPTIONS=	SSL "Use SSL" off
 

------=_NextPart_000_0062_01C89446.6BAEF9B0--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006501c89435$a86dba00$6401a8c0>