blob: 42efea26bf31d8df9de462b9aa746ffd23e7496e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
$NetBSD: patch-ac,v 1.5 2004/05/16 18:52:11 minskim Exp $
--- configure.orig 2002-11-01 20:48:14.000000000 -0600
+++ configure
@@ -799,6 +799,7 @@ echo "configure:794: checking for existe
echo "$ac_t""file not found" 1>&6
fi
+TCL_SRC_DIR=${PKGSRC_TCL_SRC_DIR}
#
# The eval is required to do the TCL_DBGX substitution in the
# TCL_LIB_FILE variable
@@ -955,6 +956,7 @@ fi
+TK_SRC_DIR=${PKGSRC_TK_SRC_DIR}
# These are substituted into the run scripts
@@ -1894,7 +1896,7 @@ fi
DL_LIBS=""
LDFLAGS="-Wl,-D,08000000"
LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
- SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
;;
IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
SHLIB_CFLAGS=""
@@ -2541,10 +2543,10 @@ fi
fi
if test "$SHARED_LIB_SUFFIX" = "" ; then
- SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}${SHLIB_SUFFIX}'
fi
if test "$UNSHARED_LIB_SUFFIX" = "" ; then
- UNSHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
fi
@@ -2630,11 +2632,7 @@ eval "TKX_SHLIB_NAME=${TKX_SHLIB_NAME}"
#
# Determine suffix to use for the object files for the shared library.
#
-if test "x${TCL_SHLIB_CFLAGS}" != "x"; then
- SHOBJ_SUFFIX="..o"
-else
SHOBJ_SUFFIX=".o"
-fi
#
# Determine the arguments for specifying the prefered TclX libraries on the
|