From 0423eb4499794826c66a1e53213bf26121cf4149 Mon Sep 17 00:00:00 2001 From: Pirmin Duss Date: Sat, 20 Jan 2018 11:05:05 +0100 Subject: [PATCH] stdcxx: fix src recipe fixes #2649 --- repos/libports/recipes/src/stdcxx/content.mk | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/repos/libports/recipes/src/stdcxx/content.mk b/repos/libports/recipes/src/stdcxx/content.mk index 43ee974b99..78d1e7c35f 100644 --- a/repos/libports/recipes/src/stdcxx/content.mk +++ b/repos/libports/recipes/src/stdcxx/content.mk @@ -2,21 +2,18 @@ MIRROR_FROM_REP_DIR := lib/mk/stdcxx-c++98.mk \ lib/mk/stdcxx.mk \ lib/import/import-stdcxx.mk -content: $(MIRROR_FROM_REP_DIR) src/lib/stdcxx/target.mk +MIRROR_FROM_PORT_DIR := src/lib/stdcxx + +content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) src/lib/stdcxx/target.mk $(MIRROR_FROM_REP_DIR): $(mirror_from_rep_dir) -src/lib/stdcxx/target.mk: - mkdir -p $(dir $@) +src/lib/stdcxx/target.mk: $(MIRROR_FROM_PORT_DIR) echo "LIBS = stdcxx" > $@ PORT_DIR := $(call port_dir,$(REP_DIR)/ports/stdcxx) -MIRROR_FROM_PORT_DIR := src/lib/stdcxx - -content: $(MIRROR_FROM_PORT_DIR) - $(MIRROR_FROM_PORT_DIR): mkdir -p $(dir $@) cp -r $(PORT_DIR)/$@ $(dir $@)