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/uim/Makefile | |
parent | 242dc94d67659fa910609e31fc7c9fb0f2a4c04a (diff) | |
download | pkgsrc-d4609c9322f5d7791da86cf53aa89da276e40fdc.tar.gz |
The editline plugin depend on libedit.
Diffstat (limited to 'inputmethod/uim/Makefile')
-rw-r--r-- | inputmethod/uim/Makefile | 13 |
1 files changed, 12 insertions, 1 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 |