diff --git a/scientific/libmpc/libmpc.conf b/scientific/libmpc/libmpc.conf index 31f9e2c16..dd9e1a017 100644 --- a/scientific/libmpc/libmpc.conf +++ b/scientific/libmpc/libmpc.conf @@ -16,5 +16,10 @@ if atstage toolchain; then var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )" var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )" + + # help to find the correct mpfr library and headers + var_append extraconfopt ' ' "--with-mpfr-include=$( pkgprefix -r includedir mpfr )" + var_append extraconfopt ' ' "--with-mpfr-lib=$( pkgprefix -r libdir mpfr )" + var_append extraconfopt ' ' "--enable-shared=no" fi