aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-10 18:42:36 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-10 19:23:29 +0100
commit0e6a30ba54a153a2641dd43afc1f64a756b11de3 (patch)
tree6d325372bc095f243a8754e2ebfb18f6daa80a12 /sys-apps
parentapp-admin/customrescuecd-x86_64: drop 0.12.5 (diff)
downloadguru-0e6a30ba54a153a2641dd43afc1f64a756b11de3.tar.gz
guru-0e6a30ba54a153a2641dd43afc1f64a756b11de3.tar.bz2
guru-0e6a30ba54a153a2641dd43afc1f64a756b11de3.zip
sys-apps/intel-cmt-cat: do not strip membw
Closes: https://bugs.gentoo.org/834907 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-no-strip.patch43
-rw-r--r--sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild2
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-no-strip.patch b/sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-no-strip.patch
new file mode 100644
index 000000000..5558fdb35
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/files/intel-cmt-cat-4.3.0-no-strip.patch
@@ -0,0 +1,43 @@
+--- a/pqos/Makefile
++++ b/pqos/Makefile
+@@ -110,12 +110,12 @@
+ ifeq ($(shell uname), FreeBSD)
+ install -d $(BIN_DIR)
+ install -d $(MAN_DIR)
+- install -s $(APP) $(BIN_DIR)
++ install $(APP) $(BIN_DIR)
+ install $(APP)-msr $(BIN_DIR)
+ install -m 0444 $(MAN) $(MAN_DIR)
+ ln -f -s $(MAN) $(MAN_DIR)/$(APP)-msr.8
+ else
+- install -D -s $(APP) $(BIN_DIR)/$(APP)
++ install -D $(APP) $(BIN_DIR)/$(APP)
+ install -D $(APP)-msr $(BIN_DIR)/$(APP)-msr
+ install -D $(APP)-os $(BIN_DIR)/$(APP)-os
+ install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
+--- a/rdtset/Makefile
++++ b/rdtset/Makefile
+@@ -117,10 +117,10 @@
+ ifeq ($(shell uname), FreeBSD)
+ install -d $(BIN_DIR)
+ install -d $(MAN_DIR)
+- install -s $(APP) $(BIN_DIR)
++ install $(APP) $(BIN_DIR)
+ install -m 0444 $(MAN) $(MAN_DIR)
+ else
+- install -D -s $(APP) $(BIN_DIR)/$(APP)
++ install -D $(APP) $(BIN_DIR)/$(APP)
+ install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
+ endif
+
+--- a/tools/membw/Makefile
++++ b/tools/membw/Makefile
+@@ -94,7 +94,7 @@
+ ifeq ($(shell uname), FreeBSD)
+ install -d $(BIN_DIR)
+ install -d $(MAN_DIR)
+- install -s $(APP) $(BIN_DIR)
++ install $(APP) $(BIN_DIR)
+ install -m 0444 $(MAN) $(MAN_DIR)
+ else
+ install -D -s $(APP) $(BIN_DIR)/$(APP)
diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
index 008f2408b..2c84f7f4c 100644
--- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
@@ -40,7 +40,7 @@ DEPEND="
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
PATCHES=(
"${FILESDIR}/${PN}-perl-makefile.patch"
- "${FILESDIR}/${PN}-do-not-strip.patch"
+ "${FILESDIR}/${P}-no-strip.patch"
"${FILESDIR}/${P}-respect-flags.patch"
)