0f5aa34593
- disable unnecessary use of nmap/lsof - from maintainer Piotr Sikora with small tweaks from me
33 lines
1.7 KiB
Plaintext
33 lines
1.7 KiB
Plaintext
$OpenBSD: patch-plugins-src_do-package_mk,v 1.1 2012/01/13 20:54:25 sthen Exp $
|
|
--- plugins-src/do-package.mk.orig Fri Dec 16 12:24:15 2011
|
|
+++ plugins-src/do-package.mk Tue Dec 20 16:52:19 2011
|
|
@@ -286,7 +286,7 @@ $(eval $(foreach D,$(TEST_SOURCE_DIRS),$(call package_
|
|
define run_broker
|
|
rm -rf $(TEST_TMPDIR)
|
|
mkdir -p $(foreach D,log plugins $(NODENAME),$(TEST_TMPDIR)/$(D))
|
|
- cp -a $(PACKAGE_DIR)/dist/*.ez $(TEST_TMPDIR)/plugins
|
|
+ cp -Rp $(PACKAGE_DIR)/dist/*.ez $(TEST_TMPDIR)/plugins
|
|
$(call copy,$(3),$(TEST_TMPDIR)/plugins)
|
|
rm -f $(TEST_TMPDIR)/plugins/rabbit_common*.ez
|
|
for plugin in \
|
|
@@ -375,7 +375,7 @@ $(APP_DONE): $(EBIN_BEAMS) $(INCLUDE_HRLS) $(APP_FILE)
|
|
mkdir -p $(APP_DIR)/ebin $(APP_DIR)/include
|
|
@echo [elided] copy beams to ebin
|
|
@$(call copy,$(EBIN_BEAMS),$(APP_DIR)/ebin)
|
|
- cp -a $(APP_FILE) $(APP_DIR)/ebin/$(APP_NAME).app
|
|
+ cp -Rp $(APP_FILE) $(APP_DIR)/ebin/$(APP_NAME).app
|
|
$(call copy,$(INCLUDE_HRLS),$(APP_DIR)/include)
|
|
$(construct_app_commands)
|
|
touch $$@
|
|
@@ -414,8 +414,8 @@ $(DEPS_FILE): $(SOURCE_ERLS) $(INCLUDE_HRLS) $(TEST_SO
|
|
@echo [elided] generate deps
|
|
@$$(if $$^,echo $$(subst : ,:,$$(foreach F,$$^,$$(abspath $$(F)):)) | escript $(abspath $(UMBRELLA_BASE_DIR)/generate_deps) $$@ '$$$$(EBIN_DIR)',echo >$$@)
|
|
@echo [elided] fix test deps
|
|
- @$$(foreach F,$(TEST_EBIN_BEAMS),sed -i -e 's|^$$$$(EBIN_DIR)/$$(notdir $$(F)):|$$$$(TEST_EBIN_DIR)/$$(notdir $$(F)):|' $$@ && ) :
|
|
- sed -i -e 's|$$@|$$$$(DEPS_FILE)|' $$@
|
|
+ @$$(foreach F,$(TEST_EBIN_BEAMS),perl -pi -e 's|^$$$$(EBIN_DIR)/$$(notdir $$(F)):|$$$$(TEST_EBIN_DIR)/$$(notdir $$(F)):|' $$@ && ) :
|
|
+ perl -pi -e 's|$$@|$$$$(DEPS_FILE)|' $$@
|
|
|
|
$(eval $(call safe_include,$(DEPS_FILE)))
|
|
|