Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2023 06:05:21 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ed03cfc5d231 - main - textproc/jq: Add USES=bison; Use gsed to fix configuration failure on 15
Message-ID:  <202309090605.38965LCd020383@gitrepo.freebsd.org>

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

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

commit ed03cfc5d231cad6ad16febfb3c1c7da411908d1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-09-09 06:04:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-09-09 06:05:11 +0000

    textproc/jq: Add USES=bison; Use gsed to fix configuration failure on 15
---
 textproc/jq/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/textproc/jq/Makefile b/textproc/jq/Makefile
index 1c2fc839a539..4c90c6f6d562 100644
--- a/textproc/jq/Makefile
+++ b/textproc/jq/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	jq
 DISTVERSIONPREFIX=	${PORTNAME}-
 DISTVERSION=	1.7
+PORTREVISION=	1
 CATEGORIES=	textproc
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,7 +11,9 @@ WWW=		https://stedolan.github.io/jq/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf cpe gmake libtool
+BUILD_DEPENDS=	gsed:textproc/gsed
+
+USES=		autoreconf bison cpe gmake libtool
 USE_CSTD=	gnu99
 USE_LDCONFIG=	yes
 
@@ -23,6 +26,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--docdir="${DOCSDIR}" \
 		--disable-maintainer-mode
 
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed # fixes the build problem on 15: sed: No error: 0; checking for sys/cygwin.h... eval: ${+...}: Bad substitution
+
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check # 3 tests fail, see https://github.com/jqlang/jq/issues/2885
 



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