From 0b1a0b1ff34de17c5aefeef5dffa06eff094cbbb Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 25 Apr 2018 19:41:00 -0500 Subject: harmony/zsh: support cross --- harmony/zsh/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'harmony/zsh/APKBUILD') diff --git a/harmony/zsh/APKBUILD b/harmony/zsh/APKBUILD index 0405b6ba6..3672a0445 100644 --- a/harmony/zsh/APKBUILD +++ b/harmony/zsh/APKBUILD @@ -9,12 +9,13 @@ url="http://www.zsh.org/" arch="all" license="BSD" depends="debianutils" # add-shell -makedepends="ncurses-dev pcre-dev" +makedepends_host="ncurses-dev pcre-dev" install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall" source="http://www.zsh.org/pub/$pkgname-$pkgver.tar.gz zprofile " -subpackages="$pkgname-doc $pkgname-calendar::noarch $pkgname-vcs::noarch $pkgname-zftp" +subpackages="$pkgname-doc $pkgname-calendar::noarch $pkgname-vcs::noarch" +[ "$CBUILD" != "$CHOST" ] || subpackages="$subpackages $pkgname-zftp" builddir="$srcdir/$pkgname-$pkgver" _libdir="usr/lib/zsh/$pkgver" -- cgit v1.2.3-70-g09d2