Mail archive
alpine-aports

[alpine-aports] [PATCH] main/bc: Added readline support

From: Marian Buschsieweke <marian.buschsieweke_at_ovgu.de>
Date: Mon, 17 Jul 2017 20:57:36 +0200

The makedepens `readline-dev` suggests that readline support was intented.
However, option `--with-readline` needs also be passed to compile bc with
readline support. In addtion, I added readline as dependency.
---
 main/bc/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/main/bc/APKBUILD b/main/bc/APKBUILD
index bc496fa1f4..8dc270b5e6 100644
--- a/main/bc/APKBUILD
+++ b/main/bc/APKBUILD
_at_@ -7,7 +7,7 @@ pkgdesc="An arbitrary precision numeric processing language (calculator)"
 url="http://www.gnu.org/software/bc/bc.html"
 arch="all"
 license="GPL2+"
-depends=""
+depends="readline"
 makedepends="flex bison readline-dev texinfo"
 subpackages="$pkgname-doc"
 source="ftp://alpha.gnu.org/gnu/bc/bc-$pkgver.tar.bz2
_at_@ -24,7 +24,8 @@ build() {
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
-		--infodir=/usr/share/info
+		--infodir=/usr/share/info \
+		--with-readline
 	make
 }
 
-- 
2.13.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Jul 17 2017 - 20:57:36 UTC