pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/neomutt



Module Name:    pkgsrc
Committed By:   ng0
Date:           Mon Nov 11 16:26:43 UTC 2019

Modified Files:
        pkgsrc/mail/neomutt: options.mk

Log Message:
neomutt: Add lua option.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/mail/neomutt/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/neomutt/options.mk
diff -u pkgsrc/mail/neomutt/options.mk:1.14 pkgsrc/mail/neomutt/options.mk:1.15
--- pkgsrc/mail/neomutt/options.mk:1.14 Mon Nov 11 14:32:43 2019
+++ pkgsrc/mail/neomutt/options.mk      Mon Nov 11 16:26:43 2019
@@ -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 @@ CONFIGURE_ARGS+=   --notmuch
 .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