summaryrefslogtreecommitdiff
path: root/user/man-db
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 20:16:51 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 20:16:51 -0500
commit32be8e4615a306d3be3ffcac8a629def7e976538 (patch)
treec4afc85285298dc2b2f0d54907eb2b7ce86a09a1 /user/man-db
parent5872cddb5cbfea77d31fe4a90da2d0bb6e3b7e55 (diff)
downloadpackages-32be8e4615a306d3be3ffcac8a629def7e976538.tar.gz
packages-32be8e4615a306d3be3ffcac8a629def7e976538.tar.bz2
packages-32be8e4615a306d3be3ffcac8a629def7e976538.tar.xz
packages-32be8e4615a306d3be3ffcac8a629def7e976538.zip
user/man-db: support cross
Diffstat (limited to 'user/man-db')
-rw-r--r--user/man-db/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/man-db/APKBUILD b/user/man-db/APKBUILD
index ff748ba3f..a645b2b7e 100644
--- a/user/man-db/APKBUILD
+++ b/user/man-db/APKBUILD
@@ -8,8 +8,9 @@ url="http://www.nongnu.org/man-db/"
arch="all"
license="GPL-2+"
depends="groff less"
-makedepends="db-dev gettext-dev libpipeline-dev zlib-dev"
-subpackages="$pkgname-lang $pkgname-doc"
+makedepends_host="db-dev gettext-dev libpipeline-dev zlib-dev"
+subpackages="$pkgname-doc"
+[ "$CBUILD" != "$CHOST" ] || subpackages="$subpackages $pkgname-lang"
options="!check" # requires //IGNORE in iconv
source="http://download.savannah.nongnu.org/releases/man-db/man-db-$pkgver.tar.xz
man-db.trigger