Changeset 19020 for trunk/base


Ignore:
Timestamp:
Aug 5, 2006, 2:03:34 PM (14 years ago)
Author:
pguyot (Paul Guyot)
Message:

Allow additional inserted libraries by keeping DYLD_INSERT_LIBRARIES variable.

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/ChangeLog

    r19012 r19020  
    11#
    2 #   $Id: ChangeLog,v 1.48 2006/08/05 01:04:24 jberry Exp $
     2#   $Id: ChangeLog,v 1.49 2006/08/05 14:03:34 pguyot Exp $
    33#
    44#   This is a log of major user-visible changes in each release
     
    77Release 1.? (unreleased):
    88
    9     - Fix a bug that prevented operation of port ed with some editors.
     9    - Fixed a bug that prevented operation of port ed with some editors.
    1010      The env wasn't being properly restored for the editor. (jberry)
    1111
     
    3535    - Trace now forbids renaming files and directories as well as removing
    3636      directories outside the sandbox. (pguyot)
     37
     38    - Allow additional inserted libraries by keeping DYLD_INSERT_LIBRARIES
     39      variable. (pguyot)
    3740
    3841Release 1.3.1 (31-Jul-2006):
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r18971 r19020  
    11# darwinports.tcl
    2 # $Id: darwinports.tcl,v 1.218 2006/07/31 22:40:05 pguyot Exp $
     2# $Id: darwinports.tcl,v 1.219 2006/08/05 14:03:34 pguyot Exp $
    33#
    44# Copyright (c) 2002 Apple Computer, Inc.
     
    428428        set keepenvkeys { DISPLAY DYLD_FALLBACK_FRAMEWORK_PATH
    429429                          DYLD_FALLBACK_LIBRARY_PATH DYLD_FRAMEWORK_PATH
    430                           DYLD_LIBRARY_PATH HOME JAVA_HOME LD_PREBIND
     430                          DYLD_LIBRARY_PATH DYLD_INSERT_LIBRARIES
     431                          HOME JAVA_HOME LD_PREBIND
    431432                          LD_PREBIND_ALLOW_OVERLAP MASTER_SITE_LOCAL
    432433                          PATCH_SITE_LOCAL PATH PORTSRC RSYNC_PROXY TMP TMPDIR
  • trunk/base/src/port1.0/porttrace.tcl

    r18792 r19020  
    22# porttrace.tcl
    33#
    4 # $Id: porttrace.tcl,v 1.22 2006/07/29 06:08:50 pguyot Exp $
     4# $Id: porttrace.tcl,v 1.23 2006/08/05 14:03:34 pguyot Exp $
    55#
    66# Copyright (c) 2005-2006 Paul Guyot <pguyot@kallisys.net>,
     
    5353                        # Launch darwintrace.dylib.
    5454                       
    55                         set env(DYLD_INSERT_LIBRARIES) \
    56                                 [file join ${portutil::autoconf::prefix} share darwinports Tcl darwintrace1.0 darwintrace.dylib]
     55                        set tracelib_path [file join ${portutil::autoconf::prefix} share darwinports Tcl darwintrace1.0 darwintrace.dylib]
     56
     57                        if {[info exists env(DYLD_INSERT_LIBRARIES)]} {
     58                                set env(DYLD_INSERT_LIBRARIES) "${env(DYLD_INSERT_LIBRARIES)}:${tracelib_path}"
     59                        } else {
     60                                set env(DYLD_INSERT_LIBRARIES) ${tracelib_path}
     61                        }
    5762                        set env(DYLD_FORCE_FLAT_NAMESPACE) 1
    5863                        set env(DARWINTRACE_LOG) "$trace_fifo"
Note: See TracChangeset for help on using the changeset viewer.