diff options
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/uim/Makefile | 13 | ||||
-rw-r--r-- | inputmethod/uim/PLIST | 4 |
2 files changed, 14 insertions, 3 deletions
diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile index 1c617cf176a..75b6abfc0e8 100644 --- a/inputmethod/uim/Makefile +++ b/inputmethod/uim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2008/06/08 13:01:48 obache Exp $ +# $NetBSD: Makefile,v 1.34 2008/09/24 03:03:45 obache Exp $ # DISTNAME= uim-1.5.1 @@ -26,6 +26,17 @@ CONFIGURE_ARGS+= --with-libgcroots=installed .include "options.mk" +PLIST_VARS+= editline +CHECK_BUILTIN.readline:= yes +.include "../../devel/readline/builtin.mk" +CHECK_BUILTIN.readline:= no + +.if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS]) +PLIST.editline= yes +.else +CONFIGURE_ARGS+= --with-libedit=no +.endif + post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uim ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/uim diff --git a/inputmethod/uim/PLIST b/inputmethod/uim/PLIST index d9a104eb371..3181af8e13d 100644 --- a/inputmethod/uim/PLIST +++ b/inputmethod/uim/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2008/06/08 13:01:48 obache Exp $ +@comment $NetBSD: PLIST,v 1.7 2008/09/24 03:03:45 obache Exp $ ${PLIST.qt}bin/uim-chardict-qt ${PLIST.uim-dict-gtk}bin/uim-dict-gtk bin/uim-fep @@ -35,7 +35,7 @@ lib/pkgconfig/uim.pc ${PLIST.anthy}lib/uim/plugin/libuim-anthy.la ${PLIST.canna}lib/uim/plugin/libuim-canna.la lib/uim/plugin/libuim-custom-enabler.la -lib/uim/plugin/libuim-editline.la +${PLIST.editline}lib/uim/plugin/libuim-editline.la lib/uim/plugin/libuim-look.la ${PLIST.m17nlib}lib/uim/plugin/libuim-m17nlib.la ${PLIST.prime}lib/uim/plugin/libuim-prime.la |