summaryrefslogtreecommitdiff
path: root/lang/tcl-tclX/patches/patch-ac
blob: 4b3d5ad8063d4007282eab4e5f6f27f565e3ed77 (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
55
56
57
58
59
60
61
62
63
$NetBSD: patch-ac,v 1.6 2008/08/19 16:14:24 joerg Exp $

--- configure.orig	2002-11-02 03:48:14.000000000 +0100
+++ 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
@@ -1677,7 +1679,7 @@ echo "configure:1668: checking system ve
 	    # results, and the version is kept in special file).
 	
 	    if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
-		system=MP-RAS-`awk '{print }' /etc/.relid'`
+		system=MP-RAS-`awk '{print }' /etc/.relid`
 	    fi
 	    if test "`uname -s`" = "AIX" ; then
 		system=AIX-`uname -v`.`uname -r`
@@ -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