diff options
author | daichi <daichi@FreeBSD.org> | 2012-12-14 15:52:55 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2012-12-14 15:52:55 +0800 |
commit | f6895608b78acdf2591bf1ecc1cd88119035d6f4 (patch) | |
tree | 999d57593a6970b59cf5a474cb1eb44fcbdd5bc3 | |
parent | 5f7a046850a5927e02b3e92f2955693f59f692fb (diff) | |
download | freebsd-ports-gnome-f6895608b78acdf2591bf1ecc1cd88119035d6f4.tar.gz freebsd-ports-gnome-f6895608b78acdf2591bf1ecc1cd88119035d6f4.tar.zst freebsd-ports-gnome-f6895608b78acdf2591bf1ecc1cd88119035d6f4.zip |
fixed build error related to OPENSSL_LDFLAGS
PR: ports/174406
Submitted by: Mamoru Sakaue <sakaue.mamoru@mwghennndo.com>
-rw-r--r-- | japanese/mozc-server/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile index 36cdb571bda9..be3f86ed936d 100644 --- a/japanese/mozc-server/Makefile +++ b/japanese/mozc-server/Makefile @@ -73,8 +73,9 @@ LOCALBASE_REPLACE_FILES= \ 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}}," +SSL_REINPLACE_STR+= -e "s,%%${V}%%,${${V}:S/\\/\\\\/g:S/"/\"/g:S/\$/\\$/g:S/,/\,/g}," .endfor +LOCALBASE_PTN= ${LOCALBASE:S/\\/\\\\/g:S/"/\"/g:S/\$/\\$/g:S/,/\,/g} GYP_DEFINES="use_libprotobuf=1" @@ -88,7 +89,7 @@ BUILD_GYP_CMD= cd ${WRKSRC}/third_party/gyp && ${SETENV} ${MAKE_ENV} ${PYTHON_CM post-patch: cd ${WRKSRC} && \ - ${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \ + ${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE_PTN},g" \ ${LOCALBASE_REPLACE_FILES} cd ${WRKSRC} && \ ${REINPLACE_CMD} ${SSL_REINPLACE_STR} base/base.gyp @@ -97,7 +98,7 @@ post-patch: ${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \ unix/fcitx/gen_fcitx_mozc_i18n.sh cd ${WRKSRC} && \ - ${REINPLACE_CMD} "s,/usr,${LOCALBASE}," \ + ${REINPLACE_CMD} "s,/usr,${LOCALBASE_PTN}," \ unix/fcitx/mozc.conf .endif |