Mail archive
alpine-aports

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

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
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
_at_@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=gdb
 pkgver=7.9.1
-pkgrel=0
+pkgrel=1
 pkgdesc="The GNU Debugger"
 url="http://sources.redhat.com/gdb/"
 arch="all"
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Oct 10 2015 - 06:58:15 GMT