[rtems-source-builder commit] freebsd: Version 12.0+ has unzip in /usr/bin
Chris Johns
chrisj at rtems.org
Wed May 15 03:15:23 UTC 2019
Module: rtems-source-builder
Branch: master
Commit: 2c264c1ed6195214de095bbb9e67d8d4bfe78fd0
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=2c264c1ed6195214de095bbb9e67d8d4bfe78fd0
Author: Chris Johns <chrisj at rtems.org>
Date: Wed May 15 13:13:23 2019 +1000
freebsd: Version 12.0+ has unzip in /usr/bin
---
source-builder/sb/freebsd.py | 5 +++++
1 file changed, 5 insertions(+)
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)
More information about the vc
mailing list