Changeset 18295 for trunk/base


Ignore:
Timestamp:
Jun 7, 2006, 9:31:16 PM (14 years ago)
Author:
mww
Message:

make that org.darwinports.${os}${major}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/package1.0/portrpmpackage.tcl

    r18291 r18295  
    11# et:ts=4
    22# portrpmpackage.tcl
    3 # $Id: portrpmpackage.tcl,v 1.7 2006/06/07 19:25:07 mww Exp $
     3# $Id: portrpmpackage.tcl,v 1.8 2006/06/07 21:31:16 mww Exp $
    44#
    55# Copyright (c) 2002 - 2003 Apple Computer, Inc.
     
    102102
    103103        # depend on system (virtual packages for apple stuff)
    104         regexp {[0-9]+\.[0-9]+} ${os.version} major
     104        regexp {[0-9]+} ${os.version} major
    105105        lappend dependencies "org.darwinports.${os.arch}"
    106         lappend dependencies "org.darwinports.${os.platform}_${major}"
     106        lappend dependencies "org.darwinports.${os.platform}${major}"
    107107   
    108108    system "rm -f '${workpath}/${portname}.filelist' && touch '${workpath}/${portname}.filelist'"
Note: See TracChangeset for help on using the changeset viewer.