summaryrefslogtreecommitdiff
path: root/japanese/tomoe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/tomoe/Makefile')
-rw-r--r--japanese/tomoe/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/japanese/tomoe/Makefile b/japanese/tomoe/Makefile
index 4e673bea166e..0c82a74243cc 100644
--- a/japanese/tomoe/Makefile
+++ b/japanese/tomoe/Makefile
@@ -106,12 +106,12 @@ CONFIGURE_ARGS+=--disable-unihan
PLIST_SUB+= UNIHAN="@comment "
.endif
-CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include \
- -I${LOCALBASE}/include/ruby-${RUBY_VER} \
- -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}" \
- PYTHON_VERSION=${PYTHON_VERSION:S;python;;} \
+CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S;python;;} \
pyexecdir=${PYTHON_SITELIBDIR} \
GMSGFMT="${LOCALBASE}/bin/msgfmt"
+CFLAGS+= -I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/ruby-${RUBY_VER} \
+ -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
.if defined(WITH_UNIHAN)
post-extract: