diff options
author | Chris Johns <chrisj@rtems.org> | 2019-05-15 13:13:23 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-05-15 13:13:23 +1000 |
commit | 2c264c1ed6195214de095bbb9e67d8d4bfe78fd0 (patch) | |
tree | 7022aa7754b5033af00aab71deab43b956043817 | |
parent | 5: Update GCC 9 baseline to GCC 9.1.0 release (diff) | |
download | rtems-source-builder-2c264c1ed6195214de095bbb9e67d8d4bfe78fd0.tar.bz2 |
freebsd: Version 12.0+ has unzip in /usr/bin
-rw-r--r-- | source-builder/sb/freebsd.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source-builder/sb/freebsd.py b/source-builder/sb/freebsd.py index 95bef5f..3634f6d 100644 --- a/source-builder/sb/freebsd.py +++ b/source-builder/sb/freebsd.py @@ -120,6 +120,11 @@ def load(): if fb_version >= 11: defines['__install_info'] = ('exe', 'optional', '/usr/local/bin/install-info') defines['__makeinfo'] = ('exe', 'required', '/usr/local/bin/makeinfo') + # + # On 12.0+ unzip is in /usr/bin + # + if fb_version >= 12: + defines['__unzip'] = ('exe', 'optional', '/usr/bin/unzip') else: for gv in ['49', '48', '47']: gcc = '%s-portbld-freebsd%s-gcc%s' % (cpu, version, gv) |