Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 10:08:54 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2d80d8f4cc61 - main - devel/bison: fix wrong dependency on readline
Message-ID:  <202404151008.43FA8s8Z064165@gitrepo.freebsd.org>

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

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

commit 2d80d8f4cc61d66f614154e9891c7b346e5fbd90
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-04-15 10:04:36 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-04-15 10:04:36 +0000

    devel/bison: fix wrong dependency on readline
    
    While the port claim a dependency on readline, it is actually never
    linked to it.
    
    While removing the dependency on readline encure via CONFIGURE_ENV
    that readline never gets picked by accident.
    
    Revealed by testing the new autodeps feature
    
    PR:     278324
---
 devel/bison/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 6ff6473bf681..a06534ba1e73 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bison
 PORTVERSION=	3.8.2
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNU
@@ -16,10 +16,11 @@ BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	m4>=1.4.16,1:devel/m4
 
 # USES=gmake is used for parallelized make test
-USES=		charsetfix compiler:c11 cpe gmake iconv localbase perl5 readline tar:xz
+USES=		charsetfix compiler:c11 cpe gmake iconv localbase perl5 tar:xz
 USE_PERL5=	build
 
 CONFIGURE_ARGS=	--disable-yacc --enable-relocatable
+CONFIGURE_ENV=	gl_cv_lib_readline=no
 GNU_CONFIGURE=	yes
 LIBS+=		-lm
 TEST_ARGS+=	${_MAKE_JOBS}



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