Files
bsdports/media/libvpx/files/patch-x-build-make-Makefile
2019-12-26 07:26:06 +00:00

23 lines
951 B
Plaintext

--- ./build/make/Makefile.orig 2017-01-12 22:27:27.000000000 +0200
+++ ./build/make/Makefile 2017-05-08 10:05:46.772184000 +0200
@@ -273,8 +273,8 @@
define install_map_template
$(DIST_DIR)/$(1): $(2)
$(if $(quiet),@echo " [INSTALL] $$@")
- $(qexec)mkdir -p $$(dir $$@)
- $(qexec)cp -p $$< $$@
+ $(qexec)install -d $$(dir $$@)
+ $(qexec)install -p $$< $$(dir $$@)
endef
define archive_template
@@ -380,7 +380,7 @@
.libs: $(LIBS)
@touch $@
$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
-$(foreach lib,$(filter %so.$(SO_VERSION_MAJOR).$(SO_VERSION_MINOR).$(SO_VERSION_PATCH),$(LIBS)),$(eval $(call so_template,$(lib))))
+$(foreach lib,$(filter %so.$(SO_VERSION_MAJOR),$(LIBS)),$(eval $(call so_template,$(lib))))
$(foreach lib,$(filter %$(SO_VERSION_MAJOR).dylib,$(LIBS)),$(eval $(call dl_template,$(lib))))
$(foreach lib,$(filter %$(SO_VERSION_MAJOR).dll,$(LIBS)),$(eval $(call dll_template,$(lib))))