Skip to content

Commit

Permalink
textproc/jq: Add USES=bison; Use gsed to fix configuration failure on 15
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Sep 9, 2023
1 parent e133409 commit ed03cfc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion textproc/jq/Makefile
@@ -1,6 +1,7 @@
PORTNAME= jq
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 1.7
PORTREVISION= 1
CATEGORIES= textproc

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -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

Expand All @@ -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

Expand Down

0 comments on commit ed03cfc

Please sign in to comment.