openbsd-ports/x11/tk/8.4/patches/patch-configure_in
miod ca27018957 Correctly configure tcl and tk 8.4 on architectures which lack shared
libraries, though hppa might need more work.

prodded by jolan@; ok jolan@ pval@
2004-05-20 21:25:44 +00:00

22 lines
628 B
Plaintext

$OpenBSD: patch-configure_in,v 1.2 2004/05/20 21:25:46 miod Exp $
--- configure.in.orig 2004-03-02 00:04:48.000000000 +0000
+++ configure.in 2004-05-17 10:34:16.000000000 +0000
@@ -108,6 +108,8 @@ SC_CONFIG_CFLAGS
SC_ENABLE_SYMBOLS
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
+
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
TK_DBGX=${DBGX}
@@ -361,7 +363,7 @@ eval eval "TK_UNSHARED_LIB_SUFFIX=${UNSH
if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != ""; then
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \${TCL_STUB_LIB_SPEC}"
- TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
+ TCL_STUB_FLAGS=""
else
TCL_STUB_FLAGS=""
fi