Make a home for Tcl and Tcl extensions: ${LOCALBASE}/lib/tcl,

and move in Tcl/Tk and extensions. This will provide a nice place
for all things Tcl as well as allowing us to remove ${LOCALBASE}/lib
from Tcl's "auto_path" which will greatly improve startup and package
loading times.

ok landry@, sebastiap@
This commit is contained in:
stu 2011-01-05 16:03:44 +00:00
parent 6beeb8547c
commit 78d4c46ce3
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: tcl.port.mk,v 1.10 2010/11/17 08:05:18 espie Exp $
# $OpenBSD: tcl.port.mk,v 1.11 2011/01/05 16:03:44 stu Exp $
CATEGORIES += lang/tcl
@ -14,7 +14,9 @@ MODTCL_LIB ?= tcl85
MODTCL_BIN ?= ${LOCALBASE}/bin/tclsh${MODTCL_VERSION}
MODTCL_INCDIR ?= ${LOCALBASE}/include/tcl${MODTCL_VERSION}
MODTCL_LIBDIR ?= ${LOCALBASE}/lib/tcl${MODTCL_VERSION}
MODTCL_TCLDIR ?= ${LOCALBASE}/lib/tcl
MODTCL_MODDIR ?= ${LOCALBASE}/lib/tcl/modules
MODTCL_LIBDIR ?= ${MODTCL_TCLDIR}/tcl${MODTCL_VERSION}
MODTCL_CONFIG ?= ${MODTCL_LIBDIR}/tclConfig.sh
MODTCL_BUILD_DEPENDS ?= ${_MODTCL_SPEC}:lang/tcl/${MODTCL_VERSION}

View File

@ -1,4 +1,4 @@
# $OpenBSD: tk.port.mk,v 1.10 2010/11/22 08:37:04 espie Exp $
# $OpenBSD: tk.port.mk,v 1.11 2011/01/05 16:04:14 stu Exp $
CATEGORIES += x11/tk
@ -15,7 +15,7 @@ MODTK_LIB ?= tk85
MODTK_BIN ?= ${LOCALBASE}/bin/wish${MODTK_VERSION}
MODTK_INCDIR ?= ${LOCALBASE}/include/tk${MODTK_VERSION}
MODTK_LIBDIR ?= ${LOCALBASE}/lib/tk${MODTK_VERSION}
MODTK_LIBDIR ?= ${MODTCL_TCLDIR}/tk${MODTK_VERSION}
MODTK_CONFIG ?= ${MODTK_LIBDIR}/tkConfig.sh