aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mozc-server
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2012-09-17 16:29:02 +0800
committerdaichi <daichi@FreeBSD.org>2012-09-17 16:29:02 +0800
commit087f392b5cce343bc0b1b38e78a392f373b23ee6 (patch)
treec390d0285b1895ce8ecc1c7b12372801ea36fa47 /japanese/mozc-server
parentc4ba7eedae8535c4884812b4f8b8f27195589375 (diff)
downloadfreebsd-ports-gnome-087f392b5cce343bc0b1b38e78a392f373b23ee6.tar.gz
freebsd-ports-gnome-087f392b5cce343bc0b1b38e78a392f373b23ee6.tar.zst
freebsd-ports-gnome-087f392b5cce343bc0b1b38e78a392f373b23ee6.zip
fixed a FreeBSD 9.x build issue
Diffstat (limited to 'japanese/mozc-server')
-rw-r--r--japanese/mozc-server/Makefile9
-rw-r--r--japanese/mozc-server/files/patch-base_base.gyp2
-rw-r--r--japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_common.py8
-rw-r--r--japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_generator_make.py2
4 files changed, 14 insertions, 7 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index 736e0d2e4c6e..ad9fff86c362 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mozc
PORTVERSION= 1.6.1187.102
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX?= ja-
@@ -29,7 +30,9 @@ USE_OPENSSL= yes
BUILD_MOZC_LIST?= mozc_server
-.if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool"
+.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server"
+USE_GNOME+= glib20 gtk20
+.elif ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool"
USE_QT4+= gui dbus qmake_build moc_build uic_build rcc_build
.elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc"
USE_GNOME+= glib20 gtk20 pygtk2
@@ -60,10 +63,12 @@ LOCALBASE_REPLACE_FILES= \
unix/ibus/gen_mozc_xml.py \
unix/ibus/mozc.xml \
unix/ibus/path_util.cc \
+ base/base.gyp \
base/util.cc \
base/process.cc \
gui/about_dialog/about_dialog.cc \
- handwriting/zinnia_handwriting.cc
+ handwriting/zinnia_handwriting.cc \
+ third_party/gyp/pylib/gyp/generator/make.py
SSL_REINPLACE_STR=
.for V in OPENSSL_CFLAGS OPENSSLLIB OPENSSLINC OPENSSL_LDFLAGS
SSL_REINPLACE_STR+= -e "s,%%${V}%%,${${V}},"
diff --git a/japanese/mozc-server/files/patch-base_base.gyp b/japanese/mozc-server/files/patch-base_base.gyp
index 3c58e4d6d940..31e967d22139 100644
--- a/japanese/mozc-server/files/patch-base_base.gyp
+++ b/japanese/mozc-server/files/patch-base_base.gyp
@@ -1,5 +1,5 @@
--- base/base.gyp.orig 2012-09-07 10:21:29.099021913 +0900
-+++ base/base.gyp 2012-09-07 10:30:46.575021640 +0900
++++ base/base.gyp 2012-09-12 12:53:34.737234489 +0900
@@ -262,20 +262,20 @@
}],
['OS=="linux" and target_platform!="Android"', {
diff --git a/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_common.py b/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_common.py
index de684c8508f3..ce000e8b7175 100644
--- a/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_common.py
+++ b/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_common.py
@@ -1,15 +1,17 @@
--- third_party/gyp/pylib/gyp/common.py.orig 2012-09-07 10:21:29.147021135 +0900
-+++ third_party/gyp/pylib/gyp/common.py 2012-09-07 10:30:44.711021503 +0900
-@@ -362,8 +362,10 @@
++++ third_party/gyp/pylib/gyp/common.py 2012-09-17 17:14:43.781601968 +0900
+@@ -362,9 +362,11 @@
'win32': 'win',
'darwin': 'mac',
'sunos5': 'solaris',
- 'freebsd7': 'freebsd',
- 'freebsd8': 'freebsd',
+- 'freebsd9': 'freebsd',
+ 'freebsd7': 'linux',
+ 'freebsd8': 'linux',
+ 'freebsd9': 'linux',
+ 'freebsd10': 'linux',
- 'freebsd9': 'freebsd',
++ 'freebsd11': 'linux',
}
flavor = flavors.get(sys.platform, 'linux')
+ return params.get('flavor', flavor)
diff --git a/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_generator_make.py b/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_generator_make.py
index b088a5ef5894..ba7c1672b12f 100644
--- a/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_generator_make.py
+++ b/japanese/mozc-server/files/patch-third_party_gyp_pylib_gyp_generator_make.py
@@ -1,5 +1,5 @@
--- third_party/gyp/pylib/gyp/generator/make.py.orig 2012-09-07 10:21:29.146021648 +0900
-+++ third_party/gyp/pylib/gyp/generator/make.py 2012-09-07 10:30:44.778021410 +0900
++++ third_party/gyp/pylib/gyp/generator/make.py 2012-09-17 17:15:20.613807429 +0900
@@ -1963,6 +1963,9 @@
srcdir_prefix = '$(srcdir)/'