--- configure.py.orig 2016-10-11 19:32:07 UTC +++ configure.py @@ -42,6 +42,8 @@ class Platform(object): self._platform = sys.platform if self._platform.startswith('linux'): self._platform = 'linux' + elif self._platform.startswith('bsdsunix'): + self._platform = 'bsdsunix' elif self._platform.startswith('freebsd'): self._platform = 'freebsd' elif self._platform.startswith('gnukfreebsd'): @@ -63,7 +65,7 @@ class Platform(object): @staticmethod def known_platforms(): - return ['linux', 'darwin', 'freebsd', 'openbsd', 'solaris', 'sunos5', + return ['linux', 'darwin', 'bsdsunix', 'freebsd', 'openbsd', 'solaris', 'sunos5', 'mingw', 'msvc', 'gnukfreebsd', 'bitrig', 'netbsd', 'aix'] def platform(self): @@ -95,7 +97,7 @@ class Platform(object): return self._platform == 'aix' def uses_usr_local(self): - return self._platform in ('freebsd', 'openbsd', 'bitrig') + return self._platform in ('bsdsunix', 'freebsd', 'openbsd', 'bitrig') def supports_ppoll(self): return self._platform in ('linux', 'openbsd', 'bitrig')