summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/augeas/APKBUILD9
-rw-r--r--main/augeas/augeas-requires-libxml2.patch20
2 files changed, 26 insertions, 3 deletions
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 <ncopa@alpinelinux.org>
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 <rjones@redhat.com>
+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