From 16c0a5b67653d0264b1e8d6b5c7dd50bf78a0577 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 2 Jul 2018 13:12:40 +0200 Subject: [PATCH] mpc: review, variant for 1.1.0 with gmp/6.1.2 and mpfr/4.0.1 added --- Libraries/mpc/1/variants | 1 + Libraries/mpc/build | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Libraries/mpc/1/variants b/Libraries/mpc/1/variants index 97455ac..6c43014 100644 --- a/Libraries/mpc/1/variants +++ b/Libraries/mpc/1/variants @@ -3,3 +3,4 @@ mpc/1.0.3 stable b:gmp/6.1.0 b:mpfr/3.1.4 mpc/1.0.3-1 stable b:gmp/6.1.1 b:mpfr/3.1.4 mpc/1.0.3-2 stable b:gmp/6.1.2 b:mpfr/3.1.5 mpc/1.1.0 stable b:gmp/6.1.2 b:mpfr/4.0.0 +mpc/1.1.0-1 unstable b:gmp/6.1.2 b:mpfr/4.0.1 diff --git a/Libraries/mpc/build b/Libraries/mpc/build index 0b67874..be22992 100755 --- a/Libraries/mpc/build +++ b/Libraries/mpc/build @@ -1,6 +1,10 @@ #!/usr/bin/env modbuild -SOURCE_URL="ftp://ftp.gnu.org/gnu/$P/$P-$V_MAJOR.$V_MINOR.$V_PATCHLVL.tar.gz" +module use 'Libraries' + +pbuild::set_source_url "ftp://ftp.gnu.org/gnu/${P}/${P}-${V_PKG}.tar.gz" +pbuild::add_to_group 'Libraries' +pbuild::use_cc '/usr/bin/cc' pbuild::configure() { "${MODULE_SRCDIR}"/configure \ @@ -11,10 +15,5 @@ pbuild::configure() { || exit 1 } -# use system gcc to compile -declare -rx CC=gcc - -module use 'Libraries' -pbuild::add_to_group 'Libraries' pbuild::make_all