BeZilla: fix finding mozconfig file

* enable configure to run on x86_64
This commit is contained in:
Sergei Reznikov
2018-01-06 15:51:51 +03:00
parent a82392387d
commit 855cb23618

View File

@@ -5,7 +5,7 @@ needs of both casual and power users."
HOMEPAGE="https://github.com/mmadia/bezilla"
COPYRIGHT="1995-2009 Mozilla Developers and Contributors"
LICENSE="MPL v1.1"
REVISION="2"
REVISION="3"
COMMIT="6862542e81d0407f8fbdb8cf96a48fdc3156e902"
SOURCE_URI="https://github.com/mmadia/bezilla/archive/$COMMIT.zip"
SOURCE_DIR="bezilla-$COMMIT"
@@ -34,7 +34,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku_devel
devel:libIDL_2
devel:libglib
devel:libglib_2.0
"
BUILD_PREREQUIRES="
cmd:gcc
@@ -46,18 +46,24 @@ BUILD_PREREQUIRES="
cmd:tar
cmd:zip
cmd:autoconf_2.13
cmd:libtoolize
cmd:pkg_config
"
BUILD()
{
cd mozilla
cp /system/data/libtool/build-aux/config.* build/autoconf
chmod +x build/autoconf/mozconfig-find
autoconf-2.13
pushd nsprpub
cp /system/data/libtool/build-aux/config.* build/autoconf
autoconf-2.13
popd
pushd directory/c-sdk
cp /system/data/libtool/build-aux/config.* build/autoconf
autoconf-2.13
popd