Skip to content

Commit

Permalink
devel/bison: fix wrong dependency on readline
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bapt committed Apr 15, 2024
1 parent b2d933a commit 2d80d8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devel/bison/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= bison
PORTVERSION= 3.8.2
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
Expand All @@ -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}
Expand Down

0 comments on commit 2d80d8f

Please sign in to comment.