2021-07-09 16:28:46 -04:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-12-23 22:47:26 -05:00
|
|
|
# Remove -pie from ldflags to prevent build breakage.
|
|
|
|
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
|
|
|
|
|
2021-07-09 16:28:46 -04:00
|
|
|
cat > makeinfo <<EOF
|
|
|
|
#!/bin/sh
|
|
|
|
printf 'makeinfo (GNU texinfo) 5.2\n'
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x makeinfo
|
|
|
|
export PATH=$PATH:$PWD
|
|
|
|
|
|
|
|
mkdir _build
|
|
|
|
cd _build
|
|
|
|
|
|
|
|
../configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--without-installed-readline \
|
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|