Changeset 213


Ignore:
Timestamp:
Aug 21, 2002, 5:17:08 AM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Misc install fixes

Location:
branches/bigmove/base/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/bigmove/base/src/darwinports1.0/darwinports.tcl

    r207 r213  
    88set portinterp_options "sysportpath portpath auto_path portconf"
    99set uniqid 0
    10 
    11 # XXX not portable
    12 proc ccextension {file} {
    13     if {[regexp {([A-Za-z]+).c} [file tail $file] match name] == 1} {
    14         set objfile [file join [file dirname $file] $name.dylib]
    15         if {[file exists $objfile]} {
    16             if {[file mtime $file] <= [file mtime $objfile]} {
    17                 return
    18             }
    19         }
    20         exec cc -dynamiclib $file -o $objfile -ltcl
    21     }
    22 }
    2310
    2411proc init {args} {
     
    4734       
    4835    if ![info exists libpath] {
    49         set libpath [file join $sysportpath Tcl]
     36        set libpath /usr/local/share/darwinports/Tcl
    5037    }
    5138
    5239    if [file isdirectory $libpath] {
    5340        lappend auto_path $libpath
    54         foreach dir [glob -nocomplain -directory $libpath -types d *] {
    55             if [file isdirectory $dir] {
    56                 foreach srcfile [glob -nocomplain -directory $dir -types f *.c] {
    57                     ccextension $srcfile
    58                 }
    59                 catch {pkg_mkIndex $dir *.tcl *.so *.dylib} result
    60             }
    61         }
    6241    } else {
    6342        return -code error "Library directory '$libpath' must exist"
  • branches/bigmove/base/src/pextlib1.0/Makefile

    r211 r213  
    1010        ${.CURDIR}/../pkg_mkindex.tcl ${.CURDIR}
    1111        ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${SHLIB_NAME} ${INSTALLDIR}
     12        ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} pkgIndex.tcl  ${INSTALLDIR}
    1213
    1314afterclean:
  • branches/bigmove/base/src/port1.0/Makefile

    r211 r213  
    99        mkdir -p ${INSTALLDIR}
    1010        ${.CURDIR}/../pkg_mkindex.tcl ${.CURDIR}
     11        ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} pkgIndex.tcl ${INSTALLDIR}
    1112        ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} port.tcl ${INSTALLDIR}
    1213        ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} portchecksum.tcl ${INSTALLDIR}
Note: See TracChangeset for help on using the changeset viewer.