Skip to content

Commit 62b8fe7

Browse files
authored
Update bison download method in Makefile
1 parent 6613645 commit 62b8fe7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ SYSLOG_NG_WORKING_DIR := $(WORKING_DIR)/syslog-ng-source
1313
SYSLOG_NG_TARBALL := $(WORKING_DIR)/syslog-ng.tar.gz
1414

1515
bison:
16-
wget https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.gz -O /tmp/bison.tar.gz
16+
BISON_VERSION="3.7.6"
17+
# the "official" gnu source - https://ftp.gnu.org/gnu/bison//bison-${BISON_VERSION}.tar.gz - fails more and more, use our mirror
18+
URL="https://github.com/syslog-ng/syslog-ng-deps/raw/refs/heads/main/bison/${BISON_VERSION}/bison.tar.gz"
19+
20+
wget ${URL} -O /tmp/bison.tar.gz
1721
tar -xzf /tmp/bison.tar.gz -C /tmp
18-
cd /tmp/bison-3.7.6 && ./configure --prefix=$(BISON_INSTALL_PATH) --disable-nls && make -j && make install
22+
cd /tmp/bison-${BISON_VERSION} && ./configure --prefix=$(BISON_INSTALL_PATH) --disable-nls && make -j && make install
1923

2024
venv:
2125
poetry install

0 commit comments

Comments
 (0)