-
-
Notifications
You must be signed in to change notification settings - Fork 665
Open
Description
I noticed two outstanding issues when I last triedto port this to FreeBSD:
- The shebang on file configure is wrong:
% file /bin/bash
/bin/bash: cannot open `/bin/bash' (No such file or directory)
You could use "!/usr/bin/env bash" or you could port it to bin/sh and run the checkbashism script, that Debian carries, on it.
% make configure
===> scancode-toolkit-2.2.1 depends on executable: bash - found
===> scancode-toolkit-2.2.1 depends on file: /usr/local/bin/python2.7 - found
===> Configuring for scancode-toolkit-2.2.1
===> FreeBSD 10 autotools fix applied to /usr/ports/devel/scancode-toolkit/work/scancode-toolkit-2.2.1/tests/textcode/data/hard_to_parse/configure
Traceback (most recent call last):
File "/usr/ports/devel/scancode-toolkit/work/scancode-toolkit-2.2.1/etc/configure.py", line 79, in <module>
raise Exception('Unsupported OS/platform %r' % sys_platform)
Exception: Unsupported OS/platform 'freebsd11'
...
Kai Knoblich has been working on a port much more diligently and his WIP is here: