1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Use current Tcl version

Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2013-04-17 10:02:28 +00:00
parent c444978d0b
commit f0e098d9a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315956
2 changed files with 14 additions and 4 deletions

View File

@ -71,9 +71,10 @@ CONFIGURE_ARGS+= --with-gtk=${LOCALBASE}
MICO_GTK= "@comment "
.endif
.if ${PORT_OPTIONS:MTCL}
LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83
USE_TCL= yes
CONFIGURE_ARGS+= --with-tcl
CPPFLAGS+= -I${LOCALBASE}/include/tcl8.3
CPPFLAGS+= -I${TCL_INCLUDEDIR}
LDFLAGS+= -L${LOCALBASE}/lib
.else
MICO_TCL= "@comment "
.endif

View File

@ -1,5 +1,5 @@
--- configure.in.orig Sat Jul 22 15:43:10 2006
+++ configure.in Sat Jul 22 15:43:37 2006
--- configure.in.orig 2006-01-21 16:12:08.000000000 +0100
+++ configure.in 2013-04-17 11:45:36.000000000 +0200
@@ -605,7 +605,7 @@
# System dependencies.
#
@ -18,3 +18,12 @@
fi
CONF_SHARED_CC="$CXX -shared"
@@ -1082,7 +1082,7 @@
AC_GET_DEFINE(TCL_VERSION, TCL_VERSION, tcl.h)
if test X"$TCL_VERSION" != X; then
dnl # remove quotes if any
- TCL_VERSION=`echo $TCL_VERSION | tr -d \"`
+ TCL_VERSION=`echo $TCL_VERSION | tr -d \" | tr -d \.`
TCL_LIBS=-ltcl$TCL_VERSION
HAVE_TCL=yes
AC_MSG_RESULT($TCL_VERSION)