Bootstrap aclocal.

This commit is contained in:
Andrius Štikonas 2021-03-17 00:24:37 +00:00
parent bb4d24509e
commit 52cdbad405
11 changed files with 86 additions and 96 deletions

View file

@ -4,12 +4,9 @@
src_compile() {
cp autoconf.in autoconf
sed -i "s# @SHELL@#/bin/sh#" autoconf
sed -i 's/@M4@/m4/' autoconf
sed -i 's/@AWK@/awk/' autoconf
sed -i 's/@PACKAGE_NAME@/Autoconf/' autoconf
sed -i 's/@VERSION@/2.52/' autoconf
sed -i "s#@datadir@#${PREFIX}/share/autoconf-2.52#" autoconf
sed -i -e "s# @SHELL@#/bin/sh#" -e 's/@M4@/m4/' -e 's/@AWK@/awk/' \
-e 's/@PACKAGE_NAME@/Autoconf/' -e 's/@VERSION@/2.52/' \
-e "s#@datadir@#${PREFIX}/share/autoconf-2.52#" autoconf
chmod +x autoconf
m4 autoconf.m4 --freeze-state=autoconf.m4f

View file

@ -10,7 +10,7 @@ src_prepare() {
# Install autoconf data files into versioned directory
for file in */Makefile.in Makefile.in; do
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
done
}