1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Amend the patch to ensure that all installed shared objects are properly

stripped when needed (should've been part of r514340).
This commit is contained in:
Alexey Dokuchaev 2019-10-17 10:44:55 +00:00
parent dca0c36401
commit b0329efcb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514656

View File

@ -1,6 +1,17 @@
--- util/Makefile.orig 2019-04-22 16:25:30 UTC
+++ util/Makefile
@@ -209,7 +209,9 @@ pyinstall:
@@ -198,7 +198,9 @@ LINK_DIR := $(PY_BASE_LINK_DIR)/util
install: install-core
$(MAKE) install-core
@echo "The following copy commands may fail; they are optional."
- -$(MAKE) py && $(CP) _util$(PYTHON_SO_EXT) util.py '$(PY_INSTALL_DIR)'
+ -$(MAKE) py
+ -$(CP) util.py '$(PY_INSTALL_DIR)'
+ -$(BSD_INSTALL_LIB) _util$(PYTHON_SO_EXT) '$(PY_INSTALL_DIR)'
@echo ok
.PHONY: install
@@ -209,7 +211,9 @@ pyinstall:
echo $(CP) $$x '$(PY_INSTALL_DIR)/'$$x; \
$(CP) $$x '$(PY_INSTALL_DIR)/'$$x; \
done
@ -11,7 +22,7 @@
.PHONY: pyinstall
@@ -233,8 +235,8 @@ install-core: $(PYTHON_EXECS) $(PROGS) $(MAIN_PROGS) $
@@ -233,8 +237,8 @@ install-core: $(PYTHON_EXECS) $(PROGS) $(MAIN_PROGS) $
done
@echo Installing executables into '$(BIN_INSTALL_DIR)'...
@for x in $(PROGS) $(MAIN_PROGS); do \