diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-03-16 20:11:53 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-03-16 20:11:53 +0000 |
commit | 79fb1155cb12bab0890aff8f5cd03b04ee167b64 (patch) | |
tree | 2cd0adaf49d27ebcd2801fd1a034ec664f6ee5ee /lang/tclX/files/patch-ae | |
parent | Stop supporting xperfmon v2.0 for 5.X systems. (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.
Notes
Notes:
svn path=/head/; revision=39932
Diffstat (limited to 'lang/tclX/files/patch-ae')
-rw-r--r-- | lang/tclX/files/patch-ae | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/tclX/files/patch-ae b/lang/tclX/files/patch-ae index 793ff3867bf6..9c4212085f60 100644 --- a/lang/tclX/files/patch-ae +++ b/lang/tclX/files/patch-ae @@ -33,11 +33,21 @@ # # Determine suffix to use for the object files for the shared library. -@@ -4831,6 +4832,7 @@ +@@ -4793,2 +4794,8 @@ + EOF ++ ++if /usr/bin/ldd ${prefix}/bin/tclsh$TCL_VERSION | fgrep -qv libtcl; then ++ TCL_EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS\ -DUSE_TCL_STUBS ++ NEED_TCL_STUB=$TCL_STUB_LIB_SPEC ++fi ++ + cat >> $CONFIG_STATUS <<EOF +@@ -4831,6 +4832,8 @@ s%@TCLX_FULL_VERSION@%$TCLX_FULL_VERSION%g s%@TKX_VERSION@%$TKX_VERSION%g s%@TKX_FULL_VERSION@%$TKX_FULL_VERSION%g +s%@TCL_PREFIX@%$TCL_PREFIX%g ++s%@NEED_TCL_STUB@%$NEED_TCL_STUB%g s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g s%@TCL_LIB_FILE@%$TCL_LIB_FILE%g |