pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/neomutt neomutt: Add lua option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc3c53a9c3b3
branches: trunk
changeset: 417473:fc3c53a9c3b3
user: ng0 <ng0%pkgsrc.org@localhost>
date: Mon Nov 11 16:26:43 2019 +0000
description:
neomutt: Add lua option.
diffstat:
mail/neomutt/options.mk | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 9a617a0cbe99 -r fc3c53a9c3b3 mail/neomutt/options.mk
--- a/mail/neomutt/options.mk Mon Nov 11 15:15:37 2019 +0000
+++ b/mail/neomutt/options.mk Mon Nov 11 16:26:43 2019 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.14 2019/11/11 14:32:43 ng0 Exp $
+# $NetBSD: options.mk,v 1.15 2019/11/11 16:26:43 ng0 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.neomutt
PKG_OPTIONS_REQUIRED_GROUPS= display
PKG_OPTIONS_GROUP.display= curses ncurses ncursesw slang
PKG_SUPPORTED_OPTIONS= debug gpgme gssapi idn ssl smime sasl
-PKG_SUPPORTED_OPTIONS+= tokyocabinet notmuch
+PKG_SUPPORTED_OPTIONS+= tokyocabinet notmuch lua
PKG_SUGGESTED_OPTIONS= gpgme gssapi idn ncursesw sasl smime ssl
PKG_SUGGESTED_OPTIONS+= tokyocabinet notmuch
@@ -150,3 +150,16 @@
.else
CONFIGURE_ARGS+= --disable-notmuch
.endif
+
+###
+### lua support
+###
+.if !empty(PKG_OPTIONS:Mlua)
+.include "../../lang/lua/buildlink3.mk"
+.include "../../lang/lua/tool.mk"
+USE_TOOLS+= lua
+CONFIGURE_ARGS+= --lua
+CONFIGURE_ARGS+= --with-lua=${BUILDLINK_PREFIX.lua}
+.else
+CONFIGURE_ARGS+= --disable-lua
+.endif
Home |
Main Index |
Thread Index |
Old Index