Changeset b7a13ab in rtems-source-builder


Ignore:
Timestamp:
Jan 6, 2014, 11:04:49 PM (6 years ago)
Author:
Nick Withers <nick.withers@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1e7eb16
Parents:
44e82d8
git-author:
Nick Withers <nick.withers@…> (01/06/14 23:04:49)
git-committer:
Chris Johns <chrisj@…> (01/06/14 23:24:56)
Message:

FreeBSD 10 and above no longer have /usr/bin/cvs - allow it to be found in the path (e.g., from a devel/cvs ports install)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/freebsd.py

    r44e82d8 rb7a13ab  
    11#
    22# RTEMS Tools Project (http://www.rtems.org/)
    3 # Copyright 2010-2012 Chris Johns (chrisj@rtems.org)
     3# Copyright 2010-2014 Chris Johns (chrisj@rtems.org)
    44# All rights reserved.
    55#
     
    7474    defines['_build_arch']   = defines['_host_arch']
    7575
     76    # FreeBSD 10 and above no longer have /usr/bin/cvs, but it can (e.g.) be installed to /usr/local/bin/cvs through the devel/cvs port
     77    if int(float(version)) >= 10:
     78        cvs = 'cvs'
     79        if check.check_exe(cvs, cvs):
     80            defines['__cvs'] = cvs
     81
    7682    for gv in ['47', '48', '49']:
    7783        gcc = '%s-portbld-freebsd%s-gcc%s' % (cpu, version, gv)
Note: See TracChangeset for help on using the changeset viewer.