From c86cb7caeab1a7651282ff996ba292c468b48de3 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 10 Aug 2012 19:43:20 +0200 Subject: [PATCH] libmpc: changed to use pkgprefix to determine libdir and includedir of gmp at toolchain stage --- scientific/libmpc/libmpc.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scientific/libmpc/libmpc.conf b/scientific/libmpc/libmpc.conf index 499dd0242..31f9e2c16 100644 --- a/scientific/libmpc/libmpc.conf +++ b/scientific/libmpc/libmpc.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libmpc/libmpc.conf -# Copyright (C) 2010 The OpenSDE Project +# Copyright (C) 2010 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -14,7 +14,7 @@ # help configure to find the native gmp we built in the toolchain directory 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 )" var_append extraconfopt ' ' "--enable-shared=no" fi