stop hacking up the autoconf script to specify the location of tclConfig.sh and instead use the proper autoconf option --with-tcl instead

This commit is contained in:
brad 2000-01-09 07:16:49 +00:00
parent dd1a2b533f
commit 40ad320822
2 changed files with 5 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2000/01/07 18:17:44 brad Exp $
# $OpenBSD: Makefile,v 1.17 2000/01/09 07:16:49 brad Exp $
# $FreeBSD: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
DISTNAME= tk8.0.5
@ -16,7 +16,7 @@ LIB_DEPENDS= tcl80.1.5:${PORTSDIR}/lang/tcl80
SEPARATE_BUILD= concurrent
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --enable-static --with-tcl="${PREFIX}/lib/tcl8.0"
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
WRKSRC= ${WRKDIR}/${DISTNAME}/unix

View File

@ -1,13 +1,6 @@
--- configure.orig Fri Mar 19 15:45:39 1999
+++ configure Fri Mar 19 15:50:03 1999
@@ -874,14 +874,14 @@
withval="$with_tcl"
TCL_BIN_DIR=$withval
else
- TCL_BIN_DIR=`cd ../../tcl8.0$TK_PATCH_LEVEL/unix; pwd`
+ TCL_BIN_DIR=${prefix}/lib/tcl8.0
fi
--- configure.orig Tue Mar 9 01:53:50 1999
+++ configure Sun Jan 9 01:32:57 2000
@@ -880,8 +880,8 @@
if test ! -d $TCL_BIN_DIR; then
{ echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
fi