extra/mono fixes

This commit is contained in:
Kevin Mihelich 2013-05-09 04:20:07 +00:00
parent b3866ad9bb
commit ba4a6ba9ec

View file

@ -28,11 +28,16 @@ md5sums=('bbbff9d3d0c36b904437ada36a27eb9e'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# build mono
if [ "$CARCH" = "armv7h" -o "$CARCH" = "armv6h"]; then
if [ "$CARCH" = "armv7h" -o "$CARCH" = "armv6h" ]; then
patch -Np1 -i ${srcdir}/alarm.patch
sed -i 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
sed -i 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' eglib/configure.ac
sed -i 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.in
sed -i 's/AUTOMAKE_OPTIONS = cygnus//' runtime/Makefile.am
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--with-libgdiplus=installed --with-fpu=VFP
else
sed -i 's/armv6=yes/armv6=no/' configure
./configure --prefix=/usr --sysconfdir=/etc \
--with-libgdiplus=installed
fi