From 32fd5ec6c93e4464c4140e08b3482d8f7b309661 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 11 Sep 2012 14:38:23 +0000 Subject: main/augeas: fix pkg-config file fixes fatal error: libxml/tree.h: No such file or directory --- main/augeas/APKBUILD | 9 ++++++--- main/augeas/augeas-requires-libxml2.patch | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 main/augeas/augeas-requires-libxml2.patch (limited to 'main') diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD index 39b481211..00d41f38d 100644 --- a/main/augeas/APKBUILD +++ b/main/augeas/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=augeas pkgver=0.10.0 -pkgrel=0 +pkgrel=1 pkgdesc="a configuration editing tool" url="http://augeas.net" arch="all" @@ -11,7 +11,9 @@ makedepends="readline-dev libxml2-dev" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-tests" source="http://augeas.net/download/augeas-$pkgver.tar.gz - regexp.c.patch" + regexp.c.patch + augeas-requires-libxml2.patch + " _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -45,4 +47,5 @@ tests() { "$subpkgdir"/usr/share/augeas/lenses/dist/ } md5sums="fe1834e90a066c3208ac0214622c7352 augeas-0.10.0.tar.gz -a9f0fe2cd7e6aebf916747207cc2b537 regexp.c.patch" +a9f0fe2cd7e6aebf916747207cc2b537 regexp.c.patch +ea212ab45cde19301646b974cc0941e8 augeas-requires-libxml2.patch" diff --git a/main/augeas/augeas-requires-libxml2.patch b/main/augeas/augeas-requires-libxml2.patch new file mode 100644 index 000000000..64e45695d --- /dev/null +++ b/main/augeas/augeas-requires-libxml2.patch @@ -0,0 +1,20 @@ +From 11b00ad49301ae6e246eae3e5ee64a80e2084a43 Mon Sep 17 00:00:00 2001 +From: Richard W.M. Jones +Date: Sat, 03 Dec 2011 14:21:50 +0000 +Subject: pkg-config: Augeas requires libxml2. + +--- +diff --git a/augeas.pc.in b/augeas.pc.in +index c97847d..9e166db 100644 +--- a/augeas.pc.in ++++ b/augeas.pc.in +@@ -6,6 +6,6 @@ includedir=@includedir@ + Name: augeas + Version: @VERSION@ + Description: Augeas configuration editing library +-Requires: ++Requires.private: libxml-2.0 + Libs: -L${libdir} -laugeas @LIBS@ + Cflags: -I${includedir} +-- +cgit v0.9.0.2 -- cgit v1.2.3