aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-04-24 21:09:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-24 21:16:30 +0000
commit1a495321f9047492196280b09534c6d1478f2bcd (patch)
tree5d2389350c9d3ec7b1b59aa426bc36e95d531589
parent3230548f211c1193a30d636d2192ebed0bbac9f5 (diff)
downloadaports-1a495321f9047492196280b09534c6d1478f2bcd.tar.gz
aports-1a495321f9047492196280b09534c6d1478f2bcd.tar.bz2
aports-1a495321f9047492196280b09534c6d1478f2bcd.tar.xz
main/mpfr4: rename mpf4-dev to mpfr-dev
mpfr is special because we cannot break ABI without first rebuild gcc. so we need be able to have multiple version of mpfr installed in parallel we also need be able to calculate bulid order from global scope, otherwise it is not possible to calculate build order til after package is built. Therfore we call -dev package mpfr-dev instead of mpfr4-dev with a provides=mpfr-dev fixes commit cfa3618af6e2 (main/mpfr4: rename subpackage to mpfr4-dev)
-rw-r--r--main/mpfr4/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/mpfr4/APKBUILD b/main/mpfr4/APKBUILD
index 3d988acabd..da1bcdda73 100644
--- a/main/mpfr4/APKBUILD
+++ b/main/mpfr4/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpfr4
pkgver=4.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="multiple-precision floating-point library"
url="https://www.mpfr.org/"
arch="all"
@@ -9,7 +9,15 @@ license="LGPL-3.0-or-later"
makedepends_build="texinfo"
makedepends_host="gmp-dev"
makedepends="$makedepends_build $makedepends_host"
-subpackages="$pkgname-doc $pkgname-dev"
+
+# mpfr is special because we cannot break ABI without first rebuild gcc.
+# so we need be able to have multiple version of mpfr installed in parallel
+# we also need be able to calculate bulid order from global scope, otherwise
+# it is not possible to calculate build order til after package is built.
+# Therfore we call -dev package mpfr-dev instead of mpfr4-dev with a
+# provides=mpfr-dev
+subpackages="$pkgname-doc mpfr-dev:dev"
+
source="https://www.mpfr.org/mpfr-$pkgver/mpfr-$pkgver.tar.xz"
builddir="$srcdir/mpfr-$pkgver"
@@ -35,8 +43,6 @@ package() {
}
dev() {
- provides="mpfr-dev=$pkgver-r$pkgrel"
- replaces="mpfr-dev"
default_dev
}