Changeset 18291 for trunk/base


Ignore:
Timestamp:
Jun 7, 2006, 7:25:07 PM (14 years ago)
Author:
mww
Message:

Submitted by: mww@

always depend on to-be-provided
*org.opendarwin.$arch
*org.opendarwin.$platform-$major
virtual packages

disable auto-dependencies

File:
1 edited

Legend:

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

    r13738 r18291  
    11# et:ts=4
    22# portrpmpackage.tcl
    3 # $Id: portrpmpackage.tcl,v 1.6 2005/08/27 00:07:27 pguyot Exp $
     3# $Id: portrpmpackage.tcl,v 1.7 2006/06/07 19:25:07 mww Exp $
    44#
    55# Copyright (c) 2002 - 2003 Apple Computer, Inc.
     
    5353proc rpmpackage_pkg {portname portversion portrevision} {
    5454    global UI_PREFIX package.destpath portdbpath destpath workpath prefix portresourcepath categories maintainers description long_description homepage epoch portpath
     55        global os.platform os.arch os.version
    5556   
    5657    set rpmdestpath ""
     
    99100        }
    100101    }
     102
     103        # depend on system (virtual packages for apple stuff)
     104        regexp {[0-9]+\.[0-9]+} ${os.version} major
     105        lappend dependencies "org.darwinports.${os.arch}"
     106        lappend dependencies "org.darwinports.${os.platform}_${major}"
    101107   
    102108    system "rm -f '${workpath}/${portname}.filelist' && touch '${workpath}/${portname}.filelist'"
     
    161167License: Unknown
    162168BuildRoot: ${destroot}
    163 Epoch: ${epoch}"
     169Epoch: ${epoch}
     170AutoReqProv: no"
    164171    if {[llength ${dependencies}] != 0} {
    165172        foreach require ${dependencies} {
Note: See TracChangeset for help on using the changeset viewer.