Changeset 18687 for trunk/base


Ignore:
Timestamp:
Jul 22, 2006, 9:16:10 AM (18 years ago)
Author:
pguyot (Paul Guyot)
Message:

Fix the problem of -t with XFree86 by getting the prefix from autoconf instead
of relying on ${prefix}.

Location:
trunk/base/src/port1.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/port_autoconf.tcl.in

    r17114 r18687  
    11# port_autoconf.tcl.in
    2 # $Id: port_autoconf.tcl.in,v 1.8 2006/03/21 20:10:18 jberry Exp $
     2# $Id: port_autoconf.tcl.in,v 1.9 2006/07/22 09:16:09 pguyot Exp $
    33#
    44# Copyright (c) 2002 - 2004 Apple Computer, Inc.
     
    4040        variable install_user "@DSTUSR@"
    4141        variable install_group "@DSTGRP@"
     42        variable prefix "@prefix_expanded@"
    4243}
  • trunk/base/src/port1.0/porttrace.tcl

    r18672 r18687  
    22# porttrace.tcl
    33#
    4 # $Id: porttrace.tcl,v 1.15 2006/07/22 03:11:02 pguyot Exp $
     4# $Id: porttrace.tcl,v 1.16 2006/07/22 09:16:10 pguyot Exp $
    55#
    66# Copyright (c) 2005 Paul Guyot <pguyot@kallisys.net>,
     
    4242                        ui_warn "trace requires Tcl Thread package ($error)"
    4343                } else {
    44                         global prefix env trace_fifo
     44                        global env trace_fifo
    4545                        # Create a fifo.
    4646                        set trace_fifo "$workpath/trace_fifo"
     
    5454                       
    5555                        set env(DYLD_INSERT_LIBRARIES) \
    56                                 "$prefix/share/darwinports/Tcl/darwintrace1.0/darwintrace.dylib"
     56                                [file join ${portutil::autoconf::prefix} share darwinports Tcl darwintrace1.0 darwintrace.dylib]
    5757                        set env(DYLD_FORCE_FLAT_NAMESPACE) 1
    5858                        set env(DARWINTRACE_LOG) "$trace_fifo"
Note: See TracChangeset for help on using the changeset viewer.