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
main
Baptiste Daroussin 2024-04-15 12:04:36 +02:00
parent b2d933a912
commit 2d80d8f4cc
1 changed files with 3 additions and 2 deletions

View File

@ -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}