aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tclX/files/patch-ab
blob: 0c7cac0ee64efddcd00a5f0196e9dcb977130fbe (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
39
40
41
42
43
44
45
46
47
48
49
50
--- ../tcl/unix/Makefile.in.orig    Sun Feb  6 18:53:59 2000
+++ ../tcl/unix/Makefile.in Thu Jul 13 15:35:23 2000
@@ -131,7 +131,7 @@
 #
 all: binaries libraries doc
 
-binaries: tcl checkup RUNTIME tclXtest
+binaries: tcl checkup RUNTIME
 
 libraries: tcl.tndx tcl.tlib tclx.tcl buildidx.tcl
 
@@ -163,6 +163,7 @@
    TCL_LIBRARY=${TCL_UNIX_DIR}/../library; export TCL_LIBRARY; \
    LD_LIBRARY_PATH=${TCL_UNIX_DIR}:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
    ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} ${TCL_SHLIB_LD_LIBS}
+   ln -sf ${TCLX_SHLIB_NAME} `echo ${TCLX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`
 
 hello: hello.c
    ${CC} ${LD_SWITCHES} -o $@ hello.c ${STATIC_LIBS}
@@ -184,7 +185,7 @@
 # unless we don't have them.
 #
 RUNTIME: tcl.tlib tcl.tndx tclx.tcl buildidx.tcl autoload.tcl help.tmp \
-         dltest.tmp checkup
+         checkup
 
 tcl.tlib: ${TLIB_SRCS} autoload.tcl
    -rm -f tcl.tlib tcl.tndx
@@ -306,7 +307,7 @@
 buildhelp: tcl tcl.tndx
    rm -rf ${HELP_DIR} help help.tmp
    mkdir ${HELP_DIR}
-   ${BLDMANHELP} ${TCL_SRC_DIR}/doc ${TCLX_TOOLS_SRC_DIR}/tclmanpages \
+   ${BLDMANHELP} ${TCLX_TOOLS_SRC_DIR}/tclmanpages \
        ${HELP_DIR} Tcl.brf
    ${RUNTCL} -c "buildhelp ${HELP_DIR} TclX.brf ${TCLX_DOC_DIR}/TclX.n"
 
@@ -338,9 +339,11 @@
        ${INSTCOPY} ${TCLX_STLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB}; \
        ${RANLIB} ${INSTALL_ROOT}${TCLX_INST_LIB}/${TCLX_STLIB_NAME}; \
    fi
-   ${INSTCOPY} tclxConfig.sh ${INSTALL_ROOT}${TCLX_INST_LIB}
+   ${INSTCOPY} tclxConfig.sh ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
    if test "@SHARED_BUILD@" = "1"; then \
        ${INSTCOPY} ${TCLX_SHLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB} ;\
+       (cd ${INSTALL_ROOT}${TCLX_INST_LIB} && \
+       ln -sf ${TCLX_SHLIB_NAME} `echo ${TCLX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`) ;\
        ${INSTCOPY} pkgIndex.tcl ${INSTALL_ROOT}${TCLX_EXEC_RUNTIME} ;\
    fi