pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/nnn sysutils/nnn: Add x11 option and remaintain



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7410dae3093e
branches:  trunk
changeset: 456711:7410dae3093e
user:      sjmulder <sjmulder%pkgsrc.org@localhost>
date:      Fri Aug 06 01:36:38 2021 +0000

description:
sysutils/nnn: Add x11 option and remaintain

diffstat:

 sysutils/nnn/Makefile   |   5 +++--
 sysutils/nnn/options.mk |  10 +++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 2f5cc4ff2963 -r 7410dae3093e sysutils/nnn/Makefile
--- a/sysutils/nnn/Makefile     Fri Aug 06 01:29:27 2021 +0000
+++ b/sysutils/nnn/Makefile     Fri Aug 06 01:36:38 2021 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.26 2021/07/26 20:11:50 fcambus Exp $
+# $NetBSD: Makefile,v 1.27 2021/08/06 01:36:38 sjmulder Exp $
 
 DISTNAME=      nnn-4.2
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jarun/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    sjmulder%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/jarun/nnn/
 COMMENT=       Optimized, feature-packed terminal file manager
 LICENSE=       2-clause-bsd
diff -r 2f5cc4ff2963 -r 7410dae3093e sysutils/nnn/options.mk
--- a/sysutils/nnn/options.mk   Fri Aug 06 01:29:27 2021 +0000
+++ b/sysutils/nnn/options.mk   Fri Aug 06 01:36:38 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2020/04/29 09:29:38 sjmulder Exp $
+# $NetBSD: options.mk,v 1.5 2021/08/06 01:36:38 sjmulder Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nnn
-PKG_SUPPORTED_OPTIONS+=        mouse pcre readline debug
-PKG_SUGGESTED_OPTIONS+=        mouse pcre readline
+PKG_SUPPORTED_OPTIONS+=        mouse pcre readline x11 debug
+PKG_SUGGESTED_OPTIONS+=        mouse pcre readline x11
 
 .include "../../mk/bsd.options.mk"
 
@@ -23,6 +23,10 @@
 MAKE_FLAGS+=           O_NORL=1
 .endif
 
+.if empty(PKG_OPTIONS:Mx11)
+MAKE_FLAGS+=           O_NOX11=1
+.endif
+
 .if !empty(PKG_OPTIONS:Mdebug)
 MAKE_FLAGS+=           O_DEBUG=1
 .endif



Home | Main Index | Thread Index | Old Index