aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpfr3/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mpfr3/APKBUILD')
-rw-r--r--main/mpfr3/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/mpfr3/APKBUILD b/main/mpfr3/APKBUILD
index d920070431..e90ecf33ca 100644
--- a/main/mpfr3/APKBUILD
+++ b/main/mpfr3/APKBUILD
@@ -7,11 +7,18 @@ url="http://www.mpfr.org/"
arch="all"
license="GPL LGPL"
depends=
-makedepends="gmp-dev texinfo"
+makedepends_build="texinfo"
+makedepends_host="gmp-dev"
+makedepends="$makedepends_build $makedepends_host"
source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.xz"
subpackages="$pkgname-doc mpfr-dev"
_builddir="$srcdir"/mpfr-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \