aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpc1
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-06 10:58:00 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-06 11:06:29 +0000
commite9c0817b06893dfbd8f6bd5ee392661c8c7c5a68 (patch)
treeff520c58163e0ab988ff67c3dc6914d4d7f9b039 /main/mpc1
parentb4447b4fce6355fed0834aaf858e5886bc8381f2 (diff)
downloadaports-e9c0817b06893dfbd8f6bd5ee392661c8c7c5a68.tar.bz2
aports-e9c0817b06893dfbd8f6bd5ee392661c8c7c5a68.tar.xz
main/mpc1: fix musl build, add cross build support
Diffstat (limited to 'main/mpc1')
-rw-r--r--main/mpc1/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/mpc1/APKBUILD b/main/mpc1/APKBUILD
index 32c6f1c3ef..aa8d36a3f1 100644
--- a/main/mpc1/APKBUILD
+++ b/main/mpc1/APKBUILD
@@ -7,7 +7,8 @@ url="http://www.multiprecision.org/"
arch="all"
license="LGPL-2.1"
depends=
-makedepends="gmp-dev mpfr-dev"
+makedepends_host="gmp-dev mpfr-dev"
+makedepends="$makedepends_host"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.multiprecision.org/mpc/download/mpc-$pkgver.tar.gz"
@@ -16,6 +17,7 @@ _builddir="$srcdir"/mpc-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {