Skip to content

Commit

Permalink
devel/dwarves: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
nunotexbsd committed Mar 5, 2024
1 parent 5e7b02c commit a56952a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion devel/dwarves/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dwarves
DISTVERSION= 1.19
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://fedorapeople.org/~acme/dwarves/

Expand Down
16 changes: 6 additions & 10 deletions devel/dwarves/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2020-03-13 17:13:35 UTC
--- CMakeLists.txt.orig 2020-11-23 12:21:38 UTC
+++ CMakeLists.txt
@@ -7,7 +7,7 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ${CMA
@@ -9,7 +9,7 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}
# Try to parse this later, Helio just showed me a KDE4 example to support
# x86-64 builds.
# the following are directories where stuff will be installed to
Expand All @@ -9,7 +9,7 @@

macro(_set_fancy _var _value _comment)
if (NOT DEFINED ${_var})
@@ -76,7 +76,7 @@ endif()
@@ -81,7 +81,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE64_SOU

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64")

Expand All @@ -18,7 +18,7 @@
add_library(bpf OBJECT ${libbpf_sources})
set_property(TARGET bpf PROPERTY POSITION_INDEPENDENT_CODE 1)
target_include_directories(bpf PRIVATE
@@ -85,13 +85,13 @@ target_include_directories(bpf PRIVATE
@@ -90,13 +90,13 @@ set(dwarves_LIB_SRCS dwarves.c dwarves_fprintf.c gobuf

set(dwarves_LIB_SRCS dwarves.c dwarves_fprintf.c gobuffer strings
ctf_encoder.c ctf_loader.c libctf.c btf_encoder.c btf_loader.c libbtf.c
Expand All @@ -34,12 +34,8 @@

set(dwarves_emit_LIB_SRCS dwarves_emit.c)
add_library(dwarves_emit SHARED ${dwarves_emit_LIB_SRCS})
@@ -153,9 +153,10 @@ install(FILES dwarves.h dwarves_emit.h dwarves_reorgan
btf_encoder.h config.h ctf_encoder.h ctf.h
elfcreator.h elf_symtab.h hash.h libbtf.h libctf.h
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/dwarves/)
-install(FILES man-pages/pahole.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1/)
+install(FILES man-pages/pahole.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1/)
@@ -161,6 +161,7 @@ install(PROGRAMS btfdiff fullcircle DESTINATION ${CMAK
install(FILES man-pages/pahole.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1/)
install(PROGRAMS ostra/ostra-cg DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
install(PROGRAMS btfdiff fullcircle DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+install(FILES changes-v1.17 README README.btf DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/dwarves)
Expand Down
2 changes: 1 addition & 1 deletion devel/dwarves/pkg-plist
Expand Up @@ -45,4 +45,4 @@ lib/libdwarves_reorganize.so.1.0.0
%%DOCSDIR%%/changes-v1.17
%%DOCSDIR%%/README
%%DOCSDIR%%/README.btf
%%MANPAGES%%man/man1/pahole.1.gz
%%MANPAGES%%share/man/man1/pahole.1.gz

0 comments on commit a56952a

Please sign in to comment.