Subject: [alpine-aports] [PATCH] main/curses: use abuild strip only

From: Daniel Sabogal <[email-masked]>
Date: Mon, 26 Feb 2018 00:29:41 -0500

Fails to cross-compile:

  strip: Unable to recognise the format of the input file `[...]/aports/main/ncurses/pkg/ncurses/usr/bin/tic'
  install: strip: No such file or directory
  make[1]: *** [Makefile:201: install.progs] Error 1
---
 main/ncurses/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 604bd39377..541010af1c 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -2,7 +2,7 @@
 pkgname=ncurses
 pkgver=6.0_p20180121
 _ver=${pkgver%_p*}-${pkgver#*_p}
-pkgrel=0
+pkgrel=1
 pkgdesc="Console display library"
 url="https://www.gnu.org/software/ncurses/"
 arch="all"
@@ -33,6 +33,7 @@ build() {
 		--without-tests \
 		--disable-termcap \
 		--disable-rpath-hack \
+		--disable-stripping \
 		--with-pkg-config-libdir=/usr/lib/pkgconfig \
 		--without-cxx-binding \
 		--with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
-- 
2.16.2

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