summaryrefslogtreecommitdiff
path: root/sysutils/nnn
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-03-19 22:43:18 +0000
committerleot <leot@pkgsrc.org>2019-03-19 22:43:18 +0000
commitd6a78e5ed0f4e2a770f310ff3f5f28662957b3fe (patch)
tree5590e94580173104e9f222402831301149e5155a /sysutils/nnn
parente47dc2c090d32965a3fa0f4b4a6f948695cda6fd (diff)
downloadpkgsrc-d6a78e5ed0f4e2a770f310ff3f5f28662957b3fe.tar.gz
nnn: Belatedly add options.mk
(Sorry, should be part of update to 2.4!)
Diffstat (limited to 'sysutils/nnn')
-rw-r--r--sysutils/nnn/options.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/nnn/options.mk b/sysutils/nnn/options.mk
new file mode 100644
index 00000000000..42a5d7dd6c3
--- /dev/null
+++ b/sysutils/nnn/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2019/03/19 22:43:18 leot Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.nnn
+PKG_SUPPORTED_OPTIONS+= readline
+PKG_SUGGESTED_OPTIONS+= readline
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mreadline)
+BUILD_TARGET= all
+.include "../../mk/readline.buildlink3.mk"
+.endif