Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 19:27:35 +0200
From:      Mark Murray <mark@grondar.za>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        jmz@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: XFree86 port 
Message-ID:  <199708271728.TAA23844@greenpeace.grondar.za>

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

TCL-80 does not install a static library either.

M

 wrote:
> There is no tcl-7.5 in /usr anymore.  Also, the tcl-7/tk-4 line has
> ended at 7.6/4.2.
> 
> Satoshi
> -------
> Index: scripts/configure
> ===================================================================
> RCS file: /usr/cvs/ports/x11/XFree86/scripts/configure,v
> retrieving revision 1.29
> diff -u -r1.29 configure
> --- configure	1997/06/18 20:50:30	1.29
> +++ configure	1997/08/26 05:13:34
> @@ -21,7 +21,7 @@
>  
>  # Tk detection
>  tkversion=
> -for v in 1 2 3 4; do
> +for v in 1 2; do
>    if [ -f /usr/local/lib/libtk4$v.a ]; then
>      tkversion=$v
>    fi
> @@ -30,12 +30,20 @@
>    echo "Using tk-4.$tkversion"
>    echo "#define HasTk			YES" >>$F
>    echo "#define TkLibDir		/usr/local/lib" >>$F
> -  echo "#define TkIncDir		/usr/local/include" >>$F
> +  echo "#define TkIncDir		/usr/local/include/tk4.$tkversion" >>$F
>    echo "#define TkLibName		tk4$tkversion" >>$F
>    echo "#define HasTcl			YES" >>$F
> -  echo "#define TclLibDir		/usr/lib" >>$F
> -  echo "#define TclIncDir		/usr/include" >>$F
> -  echo "#define TclLibName		tcl75" >>$F
> +  echo "#define TclLibDir		/usr/local/lib" >>$F
> +  case $tkversion in
> +    1)
> +      tclversion=5
> +      ;;
> +    2)
> +      tclversion=6
> +      ;;
> +  esac
> +  echo "#define TclIncDir		/usr/local/include/tcl7.$tclversion" >>
$F
> +  echo "#define TclLibName		tcl7$tclversion" >>$F
>  else
>  cat <<EOF
>  *** I don't see the static library for tk version 4 in /usr/local/lib.
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org





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