- use the correct path to configure
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 16 Jan 2007 19:48:46 +0000 (19:48 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 16 Jan 2007 19:48:46 +0000 (19:48 -0000)
package/gmp/gmp.mk
package/mpfr/mpfr.mk

index e80f3cecae83547f2badb978779634b09336a4b0..a9b6198e916335afc9c511dc616cfa59b70d3401 100644 (file)
@@ -35,7 +35,7 @@ $(GMP_TARGET_DIR)/.configured: $(GMP_DIR)/.unpacked
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
                ac_cv_c_bigendian=$(GMP_BE) \
-               ./configure \
+               $(GMP_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
index b49233d23355c81b78f6e87fc46eb2fd9f62964b..e3b6e41889278986a8e8a9154c1d7b293ccb64cc 100644 (file)
@@ -9,6 +9,7 @@ MPFR_SOURCE:=mpfr-$(MPFR_VERSION).tar.bz2
 MPFR_CAT:=$(BZCAT)
 MPFR_SITE:=http://www.mpfr.org/mpfr-current/
 MPFR_DIR:=$(TOOL_BUILD_DIR)/mpfr-$(MPFR_VERSION)
+MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
 MPFR_BINARY:=libmpfr.a
 MPFR_LIBVERSION:=1.0.1
 
@@ -34,13 +35,12 @@ ifneq ($(MPFR_PATCH),)
 endif
        touch $(MPFR_DIR)/.unpacked
 
-MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
 $(MPFR_TARGET_DIR)/.configured: $(MPFR_DIR)/.unpacked $(STAGING_DIR)/lib/$(GMP_BINARY)
        (cd $(MPFR_TARGET_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
                ac_cv_c_bigendian=$(MPFR_BE) \
-               ./configure \
+               $(MPFR_DIR)/configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \