mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
fix(automake)
This commit is contained in:
parent
e8666a6212
commit
a36c657dad
1 changed files with 9 additions and 3 deletions
|
@ -21,20 +21,26 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
tea.xyz/gx/make: '*'
|
tea.xyz/gx/make: '*'
|
||||||
git-scm.org: 2
|
gnu.org/patch: '*'
|
||||||
|
gnu.org/automake: '*' # when did this become self-requiring?
|
||||||
|
gnu.org/texinfo: '*'
|
||||||
script: |-
|
script: |-
|
||||||
./configure \
|
./configure \
|
||||||
--build={{ hw.target }} \
|
--build={{ hw.target }} \
|
||||||
--prefix="{{ prefix }}"
|
--prefix="{{ prefix }}"
|
||||||
make --jobs {{ hw.concurrency }} install
|
make -j {{ hw.concurrency }} install
|
||||||
|
|
||||||
cd "{{prefix}}"
|
cd "{{prefix}}"
|
||||||
|
|
||||||
# fix hardcoded paths
|
# fix hardcoded paths
|
||||||
perl -pi -e "s|'{{prefix}}/|\\\$prefix.'/|" bin/* share/automake-{{version.marketing}}/Automake/Config.pm
|
perl -pi -e "s|'{{prefix}}/|\\\$prefix.'/|" bin/* share/automake-{{version.marketing}}/Automake/Config.pm
|
||||||
git apply "$SRCROOT"/props/relocatable.diff
|
patch -p1 <"$SRCROOT"/props/relocatable.diff
|
||||||
|
ln -sf aclocal bin/aclocal-{{version.marketing}}
|
||||||
|
ln -sf automake bin/automake-{{version.marketing}}
|
||||||
|
|
||||||
fix-shebangs.ts bin/*
|
fix-shebangs.ts bin/*
|
||||||
|
env:
|
||||||
|
PERL5LIB: "{{prefix}}/share/automake-{{version.marketing}}"
|
||||||
|
|
||||||
# TODO to prove automake doesn't require autoconf we should
|
# TODO to prove automake doesn't require autoconf we should
|
||||||
# use “depend” on the autoconf test to generate our `configure` separately
|
# use “depend” on the autoconf test to generate our `configure` separately
|
||||||
|
|
Loading…
Reference in a new issue