mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/mono fixes
This commit is contained in:
parent
b3866ad9bb
commit
ba4a6ba9ec
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue