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