Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 40142

Show
Ignore:
Timestamp:
09/22/08 03:43:46 (2 months ago)
Author:
jmr@…
Message:

Run a script in 'make install' and .dmg postflight which removes any duplicate entries from the dep_map (#8763)

Location:
trunk/base
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/Mk/macports.upgrade.mk

    r32398 r40142  
    111111        } 
    112112 
     113# Remove duplicate entries from the dependency map (could occur with 1.6 and earlier): 
     114        $(TCLSH) src/dep_map_clean.tcl ${TCL_PACKAGE_DIR} 
     115 
    113116# Upgrade success announcement (meaning we're done ;): 
    114117        @[ -f ${UPGRADECHECK} ] || { echo ""; echo "MacPorts installation successfully upgraded from the old DarwinPorts namespace!"; echo ""; \ 
  • trunk/base/portmgr/dmg/postflight

    r38040 r40142  
    4343SBINPATH=${PREFIX}/sbin 
    4444MANPAGES=${PREFIX}/share/man 
     45TCLSH=/usr/bin/tclsh 
     46TCL_PACKAGE_DIR=/Library/Tcl 
    4547TIMESTAMP=$(date +"%Y-%m-%d_at_%H:%M:%S") 
    4648BACKUP_SUFFIX=macports-saved_${TIMESTAMP} 
     
    5759        echo "Successful!" 
    5860    fi 
     61     
     62    # Remove any duplicates from the dep map (could occur with 1.6 and earlier) 
     63    ${TCLSH} dep_map_clean.tcl ${TCL_PACKAGE_DIR} 
    5964} 
    6065