aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mozc-server
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2012-05-02 12:16:50 +0800
committerdaichi <daichi@FreeBSD.org>2012-05-02 12:16:50 +0800
commitfcf96d38bdd273d6e2116e1cd16463337d1067e3 (patch)
tree2f7fd3cb0fcb166c332502f162f81041fe17d2ae /japanese/mozc-server
parent125fa8bae2c17279686e394d6898b0d8ca993d2f (diff)
downloadfreebsd-ports-gnome-fcf96d38bdd273d6e2116e1cd16463337d1067e3.tar.gz
freebsd-ports-gnome-fcf96d38bdd273d6e2116e1cd16463337d1067e3.tar.zst
freebsd-ports-gnome-fcf96d38bdd273d6e2116e1cd16463337d1067e3.zip
improved the openssl relative handling
Submitted by: hrs
Diffstat (limited to 'japanese/mozc-server')
-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