glib: fix native build.

This commit is contained in:
Juan RP 2013-08-07 20:46:49 +02:00
parent 078ebe75de
commit 15dbed9070
1 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@ version=2.36.4
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static" configure_args="--disable-fam --with-pcre=system --enable-static"
hostmakedepends="pkg-config perl python libxslt docbook-xsl automake" hostmakedepends="pkg-config libtool gtk-doc gettext-devel perl python libxslt docbook-xsl which automake"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel elfutils-devel" makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel elfutils-devel"
short_desc="The GNU library of C routines" short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -22,11 +22,12 @@ if [ "$CROSS_BUILD" ]; then
ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getgrgid_r=yes" ac_cv_func_posix_getgrgid_r=yes"
hostmakedepends+=" libtool automake which gtk-doc gettext-devel glib-devel" hostmakedepends+=" glib-devel"
fi
pre_configure() { pre_configure() {
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
} }
fi
libglib-devel_package() { libglib-devel_package() {
depends="zlib-devel pcre-devel libffi-devel glib-${version}_${revision}" depends="zlib-devel pcre-devel libffi-devel glib-${version}_${revision}"