summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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