aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-06 10:59:00 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-06 11:06:29 +0000
commitdae6d410f1da2133a0b58365f4ed8d4825312fef (patch)
tree0f4a150b994a414a83d2996860c3173693f454fe
parent10ee75ce54fa8d2964e83aec89c0554ded1374d6 (diff)
downloadaports-dae6d410f1da2133a0b58365f4ed8d4825312fef.tar.bz2
aports-dae6d410f1da2133a0b58365f4ed8d4825312fef.tar.xz
main/cloog: fix musl build, add cross build support
-rw-r--r--main/cloog/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/cloog/APKBUILD b/main/cloog/APKBUILD
index cc9be30a84..42ec735746 100644
--- a/main/cloog/APKBUILD
+++ b/main/cloog/APKBUILD
@@ -9,7 +9,8 @@ arch="all"
license="GPLv2+"
depends=
depends_dev="gmp-dev isl-dev"
-makedepends="$depends_dev"
+makedepends_host="$depends_dev"
+makedepends="$makedepends_host"
install=""
subpackages="$pkgname-dev"
source="http://www.bastoul.net/cloog/pages/download/cloog-$pkgver.tar.gz"
@@ -18,6 +19,7 @@ _builddir="$srcdir"/cloog-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;