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

Sören Tempel
Details
Message ID
<1444453095-16460-1-git-send-email-soeren+git@soeren-tempel.net>
Sender timestamp
1444453095
DKIM signature
missing
Download raw message
Patch: +5 -1
---
 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 <ncopa@alpinelinux.org>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---