CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.27.1 and aligned with upstream
authorVictor Martinez <pitillo@ono.com>
Wed, 28 Nov 2012 16:38:41 +0000 (16:38 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 28 Nov 2012 16:38:41 +0000 (16:38 +0000)
pkg-config/.md5sum
pkg-config/Pkgfile

index beb3540d413dad8f5288cc085a4fc115f92f21ee..ec06bcb8503e22172da70d536d230e9726e47c1d 100644 (file)
@@ -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
index c763bf3f9362ade6da0517dfe3f9b75dc0c41a32..9bea986efff1b41ccaa98284095e2a1ddb2e8b9d 100644 (file)
@@ -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
 }