diff options
author | obache <obache@pkgsrc.org> | 2008-09-24 03:03:45 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-09-24 03:03:45 +0000 |
commit | d4609c9322f5d7791da86cf53aa89da276e40fdc (patch) | |
tree | 1a3c97a083a62f5789da67bf821c1d2e19b70a0c /inputmethod | |
parent | 242dc94d67659fa910609e31fc7c9fb0f2a4c04a (diff) | |
download | pkgsrc-d4609c9322f5d7791da86cf53aa89da276e40fdc.tar.gz |
The editline plugin depend on libedit.
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 |