aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2012-05-02 04:16:50 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2012-05-02 04:16:50 +0000
commitffe6e900462f67bae1ee121bb45ad77a4d38a999 (patch)
treefb6df83b019ac4557de19ee75f4a400190251020
parentc95b882ee02df6c5415a0e96d1ddf695fb5b49e6 (diff)
downloadports-ffe6e900462f67bae1ee121bb45ad77a4d38a999.tar.gz
ports-ffe6e900462f67bae1ee121bb45ad77a4d38a999.zip
Notes
-rw-r--r--japanese/mozc-server/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index 3b02aa1276b2..1e9feda16120 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mozc
PORTVERSION= 1.5.1053.102
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX?= ja-
@@ -18,14 +19,14 @@ COMMENT?= Mozc server for IBus, SCIM and others
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
gtest.0:${PORTSDIR}/devel/googletest \
protobuf.7:${PORTSDIR}/devel/protobuf \
- zinnia.0:${PORTSDIR}/japanese/zinnia \
- ssl.8:${PORTSDIR}/security/openssl
+ zinnia.0:${PORTSDIR}/japanese/zinnia
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_PYTHON= yes
+USE_OPENSSL= yes
BUILD_MOZC_LIST?= mozc_server
@@ -68,6 +69,10 @@ LOCALBASE_REPLACE_FILES= \
base/process.cc \
gui/about_dialog/about_dialog.cc \
handwriting/zinnia_handwriting.cc
+SSL_REINPLACE_STR=
+.for V in OPENSSL_CFLAGS OPENSSLLIB OPENSSLINC OPENSSL_LDFLAGS
+SSL_REINPLACE_STR+= -e "s,%%${V}%%,${${V}},"
+.endfor
BUILD_CMD= ${SETENV} ${MAKE_ENV} ${GMAKE}
BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \
@@ -81,6 +86,8 @@ post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \
${LOCALBASE_REPLACE_FILES}
+ cd ${WRKSRC} && \
+ ${REINPLACE_CMD} ${SSL_REINPLACE_STR} base/base.gyp
pre-build:
${PRINTF} "%s\n%s\n" "#!/bin/sh" 'exec ${BUILD_CMD} $$@' > ${WRKSRC}/mozcmake