🔒 Repository is read-only – file editing is disabled.
1234567891011
#!/bin/bash
set +e
cd /tmp
rm -rf et && mkdir et && tar -xzf /tmp/enchant-2.8.19.tar.gz -C et
cd et/enchant-2.8.19
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig
export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig
export CFLAGS="-D_GNU_SOURCE -Wno-error=implicit-function-declaration -Wno-error=int-conversion -Wno-error=return-type -Wno-error=maybe-uninitialized -Wno-error=incompatible-pointer-types -Wno-error=discarded-qualifiers"
./configure --prefix=/usr --mandir=/usr/share/man --disable-static --without-unit-tests > /tmp/ench.log 2>&1
echo "RC=$?"
grep -aB2 -A8 "UnitTest" /tmp/ench.log | head -20