Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2021 15:41:27 GMT
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 12d04cda7dd3 - main - misc/broot: Unbreak build with CLIENT_SERVER
Message-ID:  <202107111541.16BFfRjX084729@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lcook:

URL: https://cgit.FreeBSD.org/ports/commit/?id=12d04cda7dd3f8d299acf0dce323bc665014f698

commit 12d04cda7dd3f8d299acf0dce323bc665014f698
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2021-07-11 15:37:47 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2021-07-11 15:41:00 +0000

    misc/broot: Unbreak build with CLIENT_SERVER
    
    client-server is no longer feature gated, so
    we can safely remove the OPTION all together.
    
    ===> Building for broot-1.6.1_1
    error: Package `broot v1.6.1 does not have the feature `client-server`
    
    Reported-by:    pkg-fallout
---
 misc/broot/Makefile | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/misc/broot/Makefile b/misc/broot/Makefile
index 25aac2228f6b..bbda7d215359 100644
--- a/misc/broot/Makefile
+++ b/misc/broot/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	broot
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.6.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -222,15 +222,12 @@ CARGO_FEATURES=	--no-default-features
 SUB_FILES=	pkg-message
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
-PORTDOCS=	CHANGELOG.md README.md documentation.md
+PORTDOCS=	CHANGELOG.md README.md documentation.md features.md
 
-OPTIONS_DEFINE=		CLIENT_SERVER CLIPBOARD DOCS
-OPTIONS_DEFAULT=	CLIENT_SERVER CLIPBOARD
+OPTIONS_DEFINE=		CLIPBOARD DOCS
+OPTIONS_DEFAULT=	CLIPBOARD
 
-CLIENT_SERVER_DESC=	Enable client/server support
-CLIPBOARD_DESC=		Enable terminal X11 clipboard support
-
-CLIENT_SERVER_VARS=	CARGO_FEATURES+=client-server
+CLIPBOARD_DESC=	Enable terminal X11 clipboard support
 
 CLIPBOARD_USES=		python:3.6+,build xorg
 CLIPBOARD_USE=		XORG=xcb
@@ -241,16 +238,20 @@ _BUILD_VERSION=	${DISTVERSION}
 _BUILD_DATE=	$$(date +'%Y/%m/%d')
 
 pre-build:
-	@${MV} ${WRKSRC}/man/page ${WRKSRC}/man/${PORTNAME}.1
+	@${MV} ${WRKSRC}/man/page \
+		${WRKSRC}/man/${PORTNAME}.1
 	@${REINPLACE_CMD} -e 's|#version|${_BUILD_VERSION}|g' \
-		-e "s|#date|${_BUILD_DATE}|g" ${WRKSRC}/man/${PORTNAME}.1
+		-e "s|#date|${_BUILD_DATE}|g" \
+		${WRKSRC}/man/${PORTNAME}.1
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
+		${STAGEDIR}${MAN1PREFIX}/man/man1
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \
+		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107111541.16BFfRjX084729>