From owner-freebsd-ports Sat Apr 14 6:50:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4106937B509 for ; Sat, 14 Apr 2001 06:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3EDo2032617; Sat, 14 Apr 2001 06:50:02 -0700 (PDT) (envelope-from gnats) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id CF96337B443 for ; Sat, 14 Apr 2001 06:42:37 -0700 (PDT) (envelope-from oliver@supermarkt.de) Received: from fwd02.aul.t-online.de by mailout01.sul.t-online.com with smtp id 14oQJw-0001Vc-06; Sat, 14 Apr 2001 15:42:36 +0200 Received: from kim.sixpack.de (520030847883-0001@[217.0.187.50]) by fmrl02.sul.t-online.com with esmtp id 14oQJs-20INd2C; Sat, 14 Apr 2001 15:42:32 +0200 Received: from kiwi.sixpack.de (kiwi.sixpack.de [192.168.2.32]) by kim.sixpack.de (8.11.1/8.11.1) with ESMTP id f3EDfux06872 for ; Sat, 14 Apr 2001 15:41:56 +0200 (CEST) (envelope-from oliver@sixpack.de) Received: (from oliver@localhost) by kiwi.sixpack.de (8.11.3/8.9.3) id f3EDfkH00507; Sat, 14 Apr 2001 15:41:46 +0200 (CEST) (envelope-from oliver) Message-Id: <200104141341.f3EDfkH00507@kiwi.sixpack.de> Date: Sat, 14 Apr 2001 15:41:46 +0200 (CEST) From: LoRd_CJ@dalusers.com Reply-To: LoRd_CJ@dalusers.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/26571: update port: irc/bitchx Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26571 >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: Sat Apr 14 06:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Carl Johan Madestrand >Release: FreeBSD 4.3-RC i386 >Organization: >Environment: >Description: Patch to make TCL work in BitchX, submitted by FreeBSD Add patch-az >How-To-Repeat: >Fix: diff -urN bitchx.orig/Makefile bitchx/Makefile --- bitchx.orig/Makefile Fri Apr 6 15:36:03 2001 +++ bitchx/Makefile Wed Apr 11 14:58:05 2001 @@ -25,7 +25,7 @@ --datadir="${PREFIX}/share" \ --libdir="${PREFIX}/share" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L{LOCALBASE}/lib" + LIBS="-L${LOCALBASE}/lib" MAN1= BitchX.1 diff -urN bitchx.orig/files/patch-az bitchx/files/patch-az --- bitchx.orig/files/patch-az Wed Dec 31 17:00:00 1969 +++ bitchx/files/patch-az Wed Apr 11 15:19:09 2001 @@ -0,0 +1,82 @@ +--- configure.orig Sun Jan 7 23:24:22 2001 ++++ configure Wed Apr 11 15:18:39 2001 +@@ -701,6 +701,7 @@ + --with-ssl Enable SSL support + --with-tgetent Use tgetent (termcap) instead of setupterm (ncurses) + --with-tcl Enable Tcl support ++ --with-tcl-includes=PFX Prefix where tcl.h is installed (optional) + --with-maildir=PATH Enable QMAIL support + --with-default-server=SERVERNAME:PORT:PASSWORD:NICK:SERVERNETWORK + Connect to SERVERNAME by default +@@ -9244,6 +9245,18 @@ + #define WANT_TCL 1 + EOF + ++# Check whether --with-tcl-includes was given. ++if test "${with_tcl_includes+set}" = set; then ++ withval="$with_tcl_includes" ++ TCL_INCLUDE=-I$withval ++else ++ TCL_INCLUDE=-I/usr/local/include ++fi; ++ ++cat >>confdefs.h <<\EOF ++#define WANT_TCL 1 ++EOF ++ + echo "$as_me:9247: checking for dlopen in -ldl" >&5 + echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 + if test "${ac_cv_lib_dl_dlopen+set}" = set; then +@@ -9524,13 +9537,13 @@ + TCL_LIBS="-ltcl" + else + +-echo "$as_me:9527: checking for Tcl_SetVar in -ltcl80" >&5 +-echo $ECHO_N "checking for Tcl_SetVar in -ltcl80... $ECHO_C" >&6 +-if test "${ac_cv_lib_tcl80_Tcl_SetVar+set}" = set; then ++echo "$as_me:9527: checking for Tcl_SetVar in -ltcl83" >&5 ++echo $ECHO_N "checking for Tcl_SetVar in -ltcl83... $ECHO_C" >&6 ++if test "${ac_cv_lib_tcl83_Tcl_SetVar+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ltcl80 $LIBS" ++LIBS="-ltcl83 $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line 9535 "configure" + #include "confdefs.h" +@@ -9552,19 +9565,19 @@ + _ACEOF + rm -f conftest.$ac_objext conftest$ac_exeext + if { (eval echo $as_me:9554: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then +- ac_cv_lib_tcl80_Tcl_SetVar=yes ++ ac_cv_lib_tcl83_Tcl_SetVar=yes + else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 +- ac_cv_lib_tcl80_Tcl_SetVar=no ++ ac_cv_lib_tcl83_Tcl_SetVar=no + fi + rm -f conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:9564: result: $ac_cv_lib_tcl80_Tcl_SetVar" >&5 +-echo "${ECHO_T}$ac_cv_lib_tcl80_Tcl_SetVar" >&6 +-if test $ac_cv_lib_tcl80_Tcl_SetVar = yes; then +- TCL_LIBS="-ltcl80" ++echo "$as_me:9564: result: $ac_cv_lib_tcl83_Tcl_SetVar" >&5 ++echo "${ECHO_T}$ac_cv_lib_tcl83_Tcl_SetVar" >&6 ++if test $ac_cv_lib_tcl83_Tcl_SetVar = yes; then ++ TCL_LIBS="-ltcl83" + else + + echo "$as_me:9570: checking for Tcl_SetVar in -ltcl76" >&5 +@@ -12023,7 +12036,7 @@ + HINT_FILE="BitchX.hints" + fi + +-INCLUDES="-I. -I\$(topdir)/include -I\$(top_srcdir)/include -I\$(srcdir) -I\$(srcdir)/include" ++INCLUDES="-I. -I\$(topdir)/include -I\$(top_srcdir)/include -I\$(srcdir) -I\$(srcdir)/include $TCL_INCLUDE" + + cat >>confdefs.h <Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message