Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid running autotools at install time #474

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dragonflybsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Install system requirements
run: |
pkg install -y autoconf automake libtool hs-pandoc
pkg install -y hs-pandoc
shell: dragonflybsd {0}

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/freebsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ jobs:

- name: Install system requirements
run: |
pkg install -y hs-pandoc autoconf automake libtool
ln -s aclocal /usr/local/bin/aclocal-1.16
ln -s automake /usr/local/bin/automake-1.16
pkg install -y hs-pandoc
shell: freebsd {0}

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/netbsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install system dependencies
shell: netbsd {0}
run: |
pkg_add autoconf automake libtool pandoc png
pkg_add pandoc png
# these do not work in the end, but I'll leave them here
ln -s libpng16.so /usr/pkg/lib/libpng.so
ln -s libfontconfig.so /usr/pkg/lib/libfontconfig.so.2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/openbsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:

- name: Install system dependencies
run: |
pkg_add -I pandoc automake-1.16.5 libtool
echo 'export AUTOCONF_VERSION=2.69' >> /etc/profile
pkg_add -I pandoc
shell: openbsd {0}

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
3 changes: 3 additions & 0 deletions src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ all: $(SHLIB)

$(SHLIB): $(LIBUV)/.libs/libuv.a

# Avoid re-running autoconf/automake/aclocal.
# Need the timestamps in the right order.
$(LIBUV)/Makefile:
touch $(LIBUV)/aclocal.m4 && touch $(LIBUV)/configure && touch $(LIBUV)/Makefile.in
(cd $(LIBUV) \
&& CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY) -std=c99" AR="$(AR)" RANLIB="$(RANLIB)" LDFLAGS="$(LDFLAGS)" ./configure $(R_CONFIGURE_FLAGS) --quiet)

Expand Down
Loading