Browse Source

mpfr: changed to use pkgprefix to determine the includedir and libdir of gmp

user/chris/toolchain/0.3
Christian Wiese 12 years ago
parent
commit
d24d4fc6a6
  1. 6
      base/mpfr/mpfr.conf

6
base/mpfr/mpfr.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../mpfr/mpfr.conf # 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. # More information can be found in the files COPYING and README.
# #
@ -23,6 +23,6 @@
var_append patchfiles ' ' "$(match_source_file -p '.*\.patch')" var_append patchfiles ' ' "$(match_source_file -p '.*\.patch')"
if atstage toolchain; then if atstage toolchain; then
var_append extraconfopt ' ' '--with-gmp-include=$root/$includedir' var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )"
var_append extraconfopt ' ' '--with-gmp-lib=$root/$libdir' var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )"
fi fi

Loading…
Cancel
Save