summaryrefslogtreecommitdiff
path: root/package/mpfr/mpfr.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-22 16:14:42 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-22 16:14:42 +0000
commit8b855510d559d6889c8c58887eb6a0093dcd3861 (patch)
tree4f09e67402c0aa945f250e265a492894f51d2441 /package/mpfr/mpfr.mk
parentd733bd626a47ed30e44c4aac6fc021eb20243fcc (diff)
- fix previous incomplete commit of mine
Diffstat (limited to 'package/mpfr/mpfr.mk')
-rw-r--r--package/mpfr/mpfr.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index f12fa9187..01e78c7c9 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -38,12 +38,16 @@ $(DL_DIR)/$(MPFR_PATCH_FILE):
libmpfr-source: $(DL_DIR)/$(MPFR_SOURCE) $(DL_DIR)/$(MPFR_PATCH_FILE)
endif
+ifeq ($(MPFR_PATCH),)
$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE)
+else
+$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE) $(DL_DIR)/$(MPFR_PATCH_FILE)
+endif
$(MPFR_CAT) $(DL_DIR)/$(MPFR_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(MPFR_DIR) package/mpfr/ \*.patch
$(CONFIG_UPDATE) $(MPFR_DIR)
ifneq ($(MPFR_PATCH),)
- ( cd $(MPFR_DIR) ; patch -p1 < $(MPFR_PATCH_FILE) ; )
+ ( cd $(MPFR_DIR) ; patch -p1 < $(DL_DIR)/$(MPFR_PATCH_FILE) ; )
endif
touch $@