aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk84/files/patch-aa
blob: b52e4e27384357aff2d7dce5c626cf82680b7772 (plain) (blame)
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
--- configure.orig  Wed Mar  6 09:51:50 2002
+++ configure   Sun Mar 17 14:49:04 2002
@@ -2482,22 +2482,23 @@
    FreeBSD-*)
        # FreeBSD 3.* and greater have ELF.
        SHLIB_CFLAGS="-fPIC"
-       SHLIB_LD="ld -Bshareable -x"
+       TCL_SHLIB_LD_EXTRAS="-soname \$@"
+       SHLIB_LD="ld -shared -x"
        SHLIB_LD_LIBS='${LIBS}'
        SHLIB_SUFFIX=".so"
        DL_OBJS="tclLoadDl.o"
        DL_LIBS=""
-       LDFLAGS="-export-dynamic"
+       LDFLAGS=""
        LD_SEARCH_FLAGS=""
        if test "${TCL_THREADS}" = "1" ; then
        EXTRA_CFLAGS="-pthread"
            LDFLAGS="$LDFLAGS -pthread"
        fi
        case $system in
-       FreeBSD-3.*)
+       FreeBSD-*)
            # FreeBSD-3 doesn't handle version numbers with dots.
            UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
-           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}${DBGX}.so.1'
            TCL_LIB_VERSIONS_OK=nodots
        ;;
        esac
@@ -3030,6 +3031,7 @@
    echo "$ac_t""no" 1>&6
     fi
 
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
 
 LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'