From owner-freebsd-ports Sun Feb 15 03:53:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24116 for freebsd-ports-outgoing; Sun, 15 Feb 1998 03:53:11 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from jaguars.cableinet.net (jaguars-int.cableinet.net [193.38.113.9]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA24109 for ; Sun, 15 Feb 1998 03:53:06 -0800 (PST) (envelope-from i.vaudrey@bigfoot.com) Received: (qmail 23779 invoked from network); 15 Feb 1998 11:49:02 -0000 Received: from unknown (HELO ivwk00152.cableinet.co.uk) (194.117.149.122) by jaguars with SMTP; 15 Feb 1998 11:49:02 -0000 Received: by ivwk00152.cableinet.co.uk with Microsoft Mail id <01BD3A08.21565FA0@ivwk00152.cableinet.co.uk>; Sun, 15 Feb 1998 11:52:02 -0000 Message-ID: <01BD3A08.21565FA0@ivwk00152.cableinet.co.uk> From: Ian Vaudrey To: "'Blaz Zupan'" Cc: "freebsd-ports@FreeBSD.ORG" Subject: RE: Cyrus and TCL Date: Sun, 15 Feb 1998 11:51:40 -0000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Don't hold your breath waiting for your fix to be incorporated. I submitted a PR (ports/4729) to unbreak the Cyrus port on 8th of October last. Four months later it's still broken :-( - Ian On 15 February 1998 11:31, Blaz Zupan wrote: > What is the correct dependency for ports that need TCL? Cyrus is marked > broken in the ports collection because of a non-working tcl dependency. I > can make it work by patching its configure script to directly use -ltcl80 > and the include directory ${prefix}/include/tcl80. So should I make this > depend on tcl 8.0 or tcl 7.5? Here is the patch that makes cyrus compile > correctly under 2.2.5-STABLE if the tcl 8.0 port is installed on the > system (remove BROKEN from Makefile first, of course). Add the below patch > as patch-ac in the patches directory to make it work. > > Blaz Zupan, blaz@medinet.si, http://www.amis.net/staff/blaz > Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia > > *** configure.old Wed Mar 19 22:43:58 1997 > --- configure Sun Feb 15 11:06:27 1998 > *************** > *** 2438,2459 **** > fi > > if test -z "$with_tcl"; then > ! if test -f /usr/local/lib/libtcl.a; then > with_tcl="/usr/local" > fi > fi > case "$with_tcl" in > no) if test "$TCL_SUBDIRS" != ""; then > ! { echo "configure: error: Could not find Tcl libraries. You must either install Tcl or configure with --disable-cyradm" 1>&2; exit 1; } > fi;; > ! ""|yes) echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6 > ! echo "configure:2451: checking for Tcl_Init in -ltcl" >&5 > ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'` > if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then > echo $ac_n "(cached) $ac_c" 1>&6 > else > ac_save_LIBS="$LIBS" > ! LIBS="-ltcl -lm $LIBS" > cat > conftest.$ac_ext < #line 2459 "configure" > #include "confdefs.h" > --- 2438,2459 ---- > fi > > if test -z "$with_tcl"; then > ! if test -f /usr/local/lib/libtcl80.a; then > with_tcl="/usr/local" > fi > fi > case "$with_tcl" in > no) if test "$TCL_SUBDIRS" != ""; then > ! { echo "configure: error: Could not find Tcl 8.0 libraries. You must either install Tcl or configure with --disable-cyradm" 1>&2; exit 1; } > fi;; > ! ""|yes) echo $ac_n "checking for Tcl_Init in -ltcl80""... $ac_c" 1>&6 > ! echo "configure:2451: checking for Tcl_Init in -ltcl80" >&5 > ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'` > if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then > echo $ac_n "(cached) $ac_c" 1>&6 > else > ac_save_LIBS="$LIBS" > ! LIBS="-ltcl80 -lm $LIBS" > cat > conftest.$ac_ext < #line 2459 "configure" > #include "confdefs.h" > *************** > *** 2481,2496 **** > fi > if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then > echo "$ac_t""yes" 1>&6 > ! TCLLIBS="-ltcl -lm" > else > echo "$ac_t""no" 1>&6 > if test "$TCL_SUBDIRS" != ""; then > ! { echo "configure: error: Could not find Tcl libraries. You must either install Tcl or configure with --disable-cyradm" 1>&2; exit 1; } > fi > fi > ;; > ! *) CPPFLAGS="${CPPFLAGS} -I${with_tcl}/include" > ! TCLLIBS="-L${with_tcl}/lib ${ld_runpath_switch}${with_tcl}/lib -ltcl -lm" ;; > esac > > # Check whether --with-zephyr or --without-zephyr was given. > --- 2481,2496 ---- > fi > if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then > echo "$ac_t""yes" 1>&6 > ! TCLLIBS="-ltcl80 -lm" > else > echo "$ac_t""no" 1>&6 > if test "$TCL_SUBDIRS" != ""; then > ! { echo "configure: error: Could not find Tcl libraries. You must either install Tcl 8.0 or configure with --disable-cyradm" 1>&2; exit 1; } > fi > fi > ;; > ! *) CPPFLAGS="${CPPFLAGS} -I${with_tcl}/include/tcl8.0" > ! TCLLIBS="-L${with_tcl}/lib ${ld_runpath_switch}${with_tcl}/lib -ltcl80 -lm" ;; > esac > > # Check whether --with-zephyr or --without-zephyr was given. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message