aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tclX/files/patch-ab
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-03-16 20:11:53 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-03-16 20:11:53 +0000
commit79fb1155cb12bab0890aff8f5cd03b04ee167b64 (patch)
tree2cd0adaf49d27ebcd2801fd1a034ec664f6ee5ee /lang/tclX/files/patch-ab
parent748dea14eea21cfbe328d1eb9e9376e7634fffdd (diff)
I dreamed it would happen. I asked about. I finally did it
myself (for the lack of children, whom I could've prohibited to do it). Sorry. Upgrade this port to: . build against TCL-8.3 by default (controllable by TCL_VER) . build with or without TK (controllable by NO_X) . take over maintainership -- regretfully, Justin was rather idle recently . build the helpfiles once -- during the build stage -- not during the install stage On a side note, I more and more resent the fact, that our TCL 8.3 is built with the -stubs. It just introduces more variables without noticeable benefit. On FreeBSD shared libraries work well... I tested this with TCL-8.3 (with and without TK), and with TCL-8.2 (without TK only). Please, test this more.
Diffstat (limited to 'lang/tclX/files/patch-ab')
-rw-r--r--lang/tclX/files/patch-ab15
1 files changed, 13 insertions, 2 deletions
diff --git a/lang/tclX/files/patch-ab b/lang/tclX/files/patch-ab
index 0c7cac0ee64e..9c0dfb7a7b08 100644
--- a/lang/tclX/files/patch-ab
+++ b/lang/tclX/files/patch-ab
@@ -9,10 +9,12 @@
libraries: tcl.tndx tcl.tlib tclx.tcl buildidx.tcl
-@@ -163,6 +163,7 @@
+@@ -162,7 +162,8 @@
+ PATH=${TCL_UNIX_DIR}:${PATH}; export PATH; \
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}
+- ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} ${TCL_SHLIB_LD_LIBS}
++ ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} @NEED_TCL_STUB@
+ ln -sf ${TCLX_SHLIB_NAME} `echo ${TCLX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`
hello: hello.c
@@ -35,6 +37,11 @@
${HELP_DIR} Tcl.brf
${RUNTCL} -c "buildhelp ${HELP_DIR} TclX.brf ${TCLX_DOC_DIR}/TclX.n"
+@@ -322,3 +323,3 @@
+
+-install-misc: buildhelp
++install-misc:
+ ${INSTCOPY} ${TCLX_GENERIC_DIR}/tclExtend.h \
@@ -338,9 +339,11 @@
${INSTCOPY} ${TCLX_STLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB}; \
${RANLIB} ${INSTALL_ROOT}${TCLX_INST_LIB}/${TCLX_STLIB_NAME}; \
@@ -48,3 +55,7 @@
${INSTCOPY} pkgIndex.tcl ${INSTALL_ROOT}${TCLX_EXEC_RUNTIME} ;\
fi
+@@ -385,2 +388,2 @@
+ tclXAppInit.o: ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c
+- ${CC} -c ${CC_SWITCHES} ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c
++ ${CC} -c ${CC_SWITCHES} -UUSE_TCL_STUBS ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c