mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25: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:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
git-scm.org: 2
|
||||
gnu.org/patch: '*'
|
||||
gnu.org/automake: '*' # when did this become self-requiring?
|
||||
gnu.org/texinfo: '*'
|
||||
script: |-
|
||||
./configure \
|
||||
--build={{ hw.target }} \
|
||||
--prefix="{{ prefix }}"
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
make -j {{ hw.concurrency }} install
|
||||
|
||||
cd "{{prefix}}"
|
||||
|
||||
# fix hardcoded paths
|
||||
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/*
|
||||
env:
|
||||
PERL5LIB: "{{prefix}}/share/automake-{{version.marketing}}"
|
||||
|
||||
# TODO to prove automake doesn't require autoconf we should
|
||||
# use “depend” on the autoconf test to generate our `configure` separately
|
||||
|
|
Loading…
Reference in a new issue