summaryrefslogtreecommitdiff
path: root/textproc/uim-el/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/uim-el/Makefile')
-rw-r--r--textproc/uim-el/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/uim-el/Makefile b/textproc/uim-el/Makefile
index daa732591eb9..a45d97c92b25 100644
--- a/textproc/uim-el/Makefile
+++ b/textproc/uim-el/Makefile
@@ -35,8 +35,9 @@ BUILD_WRKSRC= ${WRKSRC}/emacs
INSTALL_WRKSRC= ${WRKSRC}/emacs
CONFIGURE_ARGS?=--enable-emacs --with-lispdir=${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
-CONFIGURE_ENV= EMACS="${EMACS_CMD}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= EMACS="${EMACS_CMD}" \
LIBS="${LIBS} -L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include
DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim-el
PLIST_SUB+= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}"