Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e8994ff077740427626cb149f279f6cddee00006
Ticket: 1960628fffffffffffffffffffffffffffffffff
TEA adjustments/fixes
User & Date: stwo on 2009-03-12 20:28:10
Changes

  1. icomment:
    ${SHLIB_VERSION}, not ${SHARED_LIB_SUFFIX}.
    ${SHLIB_VERSION} is used by the ports/packages system for dependencies.
    For example, the shared lib for tcl8.5.6 would (initially) be libtcl85.so.0.0.
    If there were a minor adjustment made to the the tcl8.5.6 port (let's say a small fix taken from tcl's cvs) then the resultant lib would be libtcl85.so.0.1.
    If there were a tcl8.5.7 release then the resultant lib (on OpenBSD) would be libtcl85.so.1.0.
    Without these numbers there'd be no way for the ports/packages system to resolve dependencies, since the lib names in the above examples would all be the same (libtcl85.so). This 'dependency resolving' is crucial for automatic package updates.
    
    Without ${SHLIB_VERSION}, tcl.m4 would have to always be patched to set the proper ${SHLIB_VERSION} as can currently be seen in the ports trees of all the BSDs. Using ${SHLIB_VERSION} will obviate patching for this purpose, saving others the trouble and hence making Tcl/Tk and any TEA extension slightly more friendly to the ports/packages systems of these os's.
    
    Those using non-BSD os's can safely continue to ignore this but hopefully now they'll understand why the BSD's need it.
    
    
  2. login: "stwo"
  3. mimetype: "text/plain"
  4. username: "stwo"