openbsd-ports/devel/itcl/patches/patch-configure
sthen e50e4a74d1 update to 3.4b1, allowing this to work with Tcl 8.5.
From Sebastian Reitenbach with some changes by me & tested by Sebastian.
earlier version ok jasper@

(not moving to itcl 4.0 yet; other parts are needed first).
2010-06-07 14:39:46 +00:00

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2010/06/07 14:39:46 sthen Exp $
--- configure.orig Fri May 25 00:15:40 2007
+++ configure Sun Jun 6 12:37:28 2010
@@ -7729,7 +7729,7 @@ echo "${ECHO_T}$tcl_cv_ld_elf" >&6
DL_LIBS=""
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${LIBitcl34_VERSION}'
echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
if test "${tcl_cv_ld_elf+set}" = set; then
@@ -9477,7 +9477,7 @@ echo "${ECHO_T}${TCLSH_PROG}" >&6
#--------------------------------------------------------------------
# pkglibdir must be a fully qualified path and (not ${exec_prefix}/lib)
-eval pkglibdir="${libdir}/${PACKAGE_NAME}${PACKAGE_VERSION}"
+eval pkglibdir="${libdir}"
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
eval itcl_LIB_FLAG="-litcl${PACKAGE_VERSION}${DBGX}"
eval itcl_STUB_LIB_FLAG="-litclstub${PACKAGE_VERSION}${DBGX}"