From 853ed9dbd6823a19c64af87a0c62be52b8c326ec Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 10 Aug 2012 19:54:15 +0200 Subject: [PATCH] libmpc: improved to find the correct mpfr library and headers --- scientific/libmpc/libmpc.conf | 5 +++++ 1 file changed, 5 insertions(+) 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