From 64f20734eac24d84d6f9955a585eb781be5de5c2 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 18 Oct 2012 23:41:23 +0000 Subject: [PATCH] pkg-config: updated to 0.27.1 and aligned with upstream --- pkg-config/.md5sum | 4 +--- pkg-config/Pkgfile | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/pkg-config/.md5sum b/pkg-config/.md5sum index beb3540..ec06bcb 100644 --- a/pkg-config/.md5sum +++ b/pkg-config/.md5sum @@ -1,3 +1 @@ -a3270bab3f4b69b7dc6dbdacbcae9745 pkg-config-0.25.tar.gz -7a32cc234bef150b20b2011139f2e24c pkg-config-0.25_ANSII_libraries.patch -e5c41ba63f2809c0e432fe9527568b85 pkg-config.diff +5392b4e3372879c5bf856173b418d6a2 pkg-config-0.27.1.tar.gz diff --git a/pkg-config/Pkgfile b/pkg-config/Pkgfile index c763bf3..9bea986 100644 --- a/pkg-config/Pkgfile +++ b/pkg-config/Pkgfile @@ -5,26 +5,29 @@ # Depends on: name=pkg-config -version=0.25 -release=2 -source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz - $name.diff - $name-${version}_ANSII_libraries.patch) +version=0.27.1 +release=1 +source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz) build() { cd $name-$version - patch -p1 -i $SRC/$name.diff - patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch + 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 + --mandir=/usr/man \ + --with-internal-glib \ + --cache-file=config.cache make make DESTDIR=$PKG install - rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html - rmdir $PKG/usr/share/doc/{pkg-config,} + rm -r $PKG/usr/share/doc } -- 2.26.2