X-Git-Url: http://gitweb/?a=blobdiff_plain;f=pkg-config%2FPkgfile;h=93be31896fc2cbcad3ca94ed2f2963d8232f8496;hb=8d227c9f184c880b0b6a14d7ae718b9bd3aea25d;hp=a69bab197f6d27616aab7ce252ea9411e8908c54;hpb=b46c009ddf49f15d6b0111284159c3f15c9c8936;p=crossrootfs.git diff --git a/pkg-config/Pkgfile b/pkg-config/Pkgfile index a69bab1..93be318 100644 --- a/pkg-config/Pkgfile +++ b/pkg-config/Pkgfile @@ -5,28 +5,30 @@ # Depends on: name=pkg-config -version=0.23 +version=0.29.1 release=1 -source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \ - $name-${version}_ANSII_libraries.patch) +source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz) build() { cd $name-$version - patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch - -# echo "glib_cv_has__inline=yes" > config.cache -# echo "glib_cv_hasinline=yes" >> config.cache - - #export GLIB_CFLAGS="-I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include" - #export GLIB_LIBS="-L$CLFS/usr/lib -lglib-2.0 -liconv -lintl" + cat > config.cache << EOF +glib_cv_stack_grows=no +glib_cv_uscore=no +ac_cv_func_posix_getgrgid_r=yes +ac_cv_func_posix_getpwuid_r=yes +EOF ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ - --mandir=/usr/man -#--with-installed-glib -# --cache-file=config.cache + --with-internal-glib \ + --disable-compile-warnings \ + --disable-host-tool \ + --cache-file=config.cache + make make DESTDIR=$PKG install + + rm -r $PKG/usr/share/doc }