eth0s/ports/m4/Pkgfile
2019-10-03 18:00:34 +08:00

21 lines
462 B
Text
Executable file

# Description: The GNU macro processor
# URL:
# Maintainer:
# Depends on:
name=m4
version=1.4.18
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
# fixes required by glibc-2.28
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}