Mail archive
alpine-aports

[alpine-aports] [PATCH] main/gdb: use system zlib

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Mon, 29 Feb 2016 23:17:20 +0100

---
 main/gdb/APKBUILD | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD
index 2d90fe2..3b7b80a 100644
--- a/main/gdb/APKBUILD
+++ b/main/gdb/APKBUILD
_at_@ -1,14 +1,14 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=gdb
 pkgver=7.11
-pkgrel=0
+pkgrel=1
 pkgdesc="The GNU Debugger"
 url="http://sources.redhat.com/gdb/"
 arch="all"
 license="GPL3"
 depends=
 makedepends="ncurses-dev expat-dev texinfo readline-dev python-dev
-	autoconf automake libtool linux-headers"
+	zlib-dev autoconf automake libtool linux-headers"
 subpackages="$pkgname-doc"
 source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
 	"
_at_@ -41,6 +41,9 @@ build () {
 	# use system readline if not cross compiling
 	[ "$CBUILD" = "$CHOST" ] && _config="$_config --with-system-readline"
 
+	# use system zlib if not cross compiling
+	[ "$CBUILD" = "$CHOST" ] && _config="$_config --with-system-zlib"
+
 	# gdb server does not compile with musl
 	[ "$CTARGET_LIBC" = musl ] &&  _config="$_config --disable-gdbserver"
 
-- 
2.7.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Feb 29 2016 - 23:17:20 GMT