summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2021-04-20 11:04:10 -0700
committerPatrick McLean <chutzpah@gentoo.org>2021-04-20 11:04:26 -0700
commitc1d1ece10f2f6dd3f34d59b0b4066f8f0d73eaa0 (patch)
treec5d32e0e191f8196b1b471900e0130bea1a13944 /dev-util/bpftrace
parentnet-libs/nodejs: support dev-libs/icu-69.1 (diff)
downloadgentoo-c1d1ece10f2f6dd3f34d59b0b4066f8f0d73eaa0.tar.gz
gentoo-c1d1ece10f2f6dd3f34d59b0b4066f8f0d73eaa0.tar.bz2
gentoo-c1d1ece10f2f6dd3f34d59b0b4066f8f0d73eaa0.zip
dev-util/bpftrace-0.12.1-r1: revbump, fix up library installation
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/bpftrace')
-rw-r--r--dev-util/bpftrace/bpftrace-0.12.1-r1.ebuild (renamed from dev-util/bpftrace/bpftrace-0.12.1.ebuild)0
-rw-r--r--dev-util/bpftrace/files/bpftrace-0.12.0-install-libs.patch7
2 files changed, 4 insertions, 3 deletions
diff --git a/dev-util/bpftrace/bpftrace-0.12.1.ebuild b/dev-util/bpftrace/bpftrace-0.12.1-r1.ebuild
index c36af3ddcf98..c36af3ddcf98 100644
--- a/dev-util/bpftrace/bpftrace-0.12.1.ebuild
+++ b/dev-util/bpftrace/bpftrace-0.12.1-r1.ebuild
diff --git a/dev-util/bpftrace/files/bpftrace-0.12.0-install-libs.patch b/dev-util/bpftrace/files/bpftrace-0.12.0-install-libs.patch
index ef715ea5da80..04c08b3efa8b 100644
--- a/dev-util/bpftrace/files/bpftrace-0.12.0-install-libs.patch
+++ b/dev-util/bpftrace/files/bpftrace-0.12.0-install-libs.patch
@@ -31,19 +31,20 @@ index a95c60a1..f5c4d676 100644
function(embed_headers output)
file(WRITE ${output} "#include \"headers.h\"\n\nnamespace bpftrace {\n")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 37ee2204..d35574f5 100644
+index 37ee2204..8b2e1909 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
-@@ -145,7 +145,7 @@ if (ALLOW_UNSAFE_PROBE)
+@@ -145,7 +145,8 @@ if (ALLOW_UNSAFE_PROBE)
target_compile_definitions(libbpftrace PRIVATE HAVE_UNSAFE_PROBE)
endif(ALLOW_UNSAFE_PROBE)
-target_link_libraries(libbpftrace arch ast parser resources)
+target_link_libraries(libbpftrace bpftracearch bpftraceast bpftraceparser bpftraceresources)
++install(TARGETS bpftracearch bpftraceast bpftraceparser LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
target_link_libraries(libbpftrace ${LIBBCC_LIBRARIES})
if(STATIC_LINKING)
-@@ -194,6 +194,7 @@ if (USE_LIBFUZZER)
+@@ -194,6 +195,7 @@ if (USE_LIBFUZZER)
endif()
install(TARGETS ${BPFTRACE} DESTINATION ${CMAKE_INSTALL_BINDIR})