aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-13 14:28:22 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-13 14:28:22 +0000
commit5bbf5b09d54bd07326073359e8693bd563e6876e (patch)
treef811a8adb94c3e25d6d3d420573f56f3d476dffd
parent1af2a707aebacbd8dbc76c60ad986081dbcb3e7d (diff)
downloadaports-5bbf5b09d54bd07326073359e8693bd563e6876e.tar.bz2
aports-5bbf5b09d54bd07326073359e8693bd563e6876e.tar.xz
main/kmod: support cross building
-rw-r--r--main/kmod/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/kmod/APKBUILD b/main/kmod/APKBUILD
index 10f00f40ed..56f7c90a08 100644
--- a/main/kmod/APKBUILD
+++ b/main/kmod/APKBUILD
@@ -10,7 +10,9 @@ license="GPL2+"
depends=""
depends_dev=""
# gnu sed is needed for symlink
-makedepends="$depends_dev zlib-dev xz-dev libxslt"
+makedepends_build="libxslt"
+makedepends_host="$depends_dev zlib-dev xz-dev"
+makedepends="$makedepends_build $makedepends_host"
install=""
triggers="$pkgname.trigger=/lib/modules/*"
subpackages="$pkgname-dev $pkgname-doc