Subject: [alpine-aports] [PATCH] main/gdb: resolve conflict with binutils-doc

From: Sören Tempel <[email-masked]>
Date: Sat, 10 Oct 2015 06:58:15 +0200

---
 main/gdb/APKBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD
index 822a8ff..f7e3d34 100644
--- a/main/gdb/APKBUILD
+++ b/main/gdb/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=gdb
 pkgver=7.9.1
-pkgrel=0
+pkgrel=1
 pkgdesc="The GNU Debugger"
 url="http://sources.redhat.com/gdb/"
 arch="all"
@@ -61,7 +61,11 @@ build () {
 package() {
 	cd "$_builddir"
 	make DESTDIR="$pkgdir" install || return 1
+
+	# resolve conflict with binutils-doc
+	rm -f "$pkgdir"/usr/share/info/bfd.info
 	rm -f "$pkgdir"/usr/share/info/dir
+
 	# those are provided by binutils
 	rm -rf "$pkgdir"/usr/include
 	rm -rf "$pkgdir"/usr/lib
-- 
2.6.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---