From d24d4fc6a6351a5ab29e8cb206648260fb274c75 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 10 Aug 2012 20:07:53 +0200 Subject: [PATCH] mpfr: changed to use pkgprefix to determine the includedir and libdir of gmp --- base/mpfr/mpfr.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/mpfr/mpfr.conf b/base/mpfr/mpfr.conf index fb018faf8..9e4575217 100644 --- a/base/mpfr/mpfr.conf +++ b/base/mpfr/mpfr.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../mpfr/mpfr.conf -# Copyright (C) 2006 - 2009 The OpenSDE Project +# Copyright (C) 2006 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -23,6 +23,6 @@ var_append patchfiles ' ' "$(match_source_file -p '.*\.patch')" if atstage toolchain; then - var_append extraconfopt ' ' '--with-gmp-include=$root/$includedir' - var_append extraconfopt ' ' '--with-gmp-lib=$root/$libdir' + var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )" + var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )" fi