diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2012-05-01 06:41:06 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2012-05-01 06:41:06 +0000 |
commit | c026b5acd5f18bf09529c5dc84fec49db7ed1986 (patch) | |
tree | 44083a6a7d55cffeaec216967667daac64c58312 /japanese/mozc-server | |
parent | 076e412612e9e33636b63f8cbd59dc58f660a2e6 (diff) | |
download | ports-c026b5acd5f18bf09529c5dc84fec49db7ed1986.tar.gz ports-c026b5acd5f18bf09529c5dc84fec49db7ed1986.zip |
Notes
Diffstat (limited to 'japanese/mozc-server')
-rw-r--r-- | japanese/mozc-server/files/patch-build_tools_util.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/mozc-server/files/patch-build_tools_util.py b/japanese/mozc-server/files/patch-build_tools_util.py new file mode 100644 index 000000000000..764ee9d0faf7 --- /dev/null +++ b/japanese/mozc-server/files/patch-build_tools_util.py @@ -0,0 +1,11 @@ +--- build_tools/util.py.orig 2012-05-01 12:21:08.135692337 +0900 ++++ build_tools/util.py 2012-05-01 13:03:43.227693771 +0900 +@@ -54,7 +54,7 @@ + + def IsLinux(): + """Returns true if the platform is Linux.""" +- return os.name == 'posix' and os.uname()[0] == 'Linux' ++ return os.name == 'posix' and ( os.uname()[0] == 'Linux' or os.uname()[0] == 'FreeBSD' ) + + + def GetNumberOfProcessors(): |