Skip to content

Commit

Permalink
fix: set rpm config directory to /usr/lib/rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
nbertoldo committed Dec 12, 2024
1 parent 9f3bbad commit b76198d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ports-overlay/librpm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ vcpkg_from_github(
HEAD_REF rpm-4.18.2-release
)

vcpkg_replace_string("${SOURCE_PATH}/configure.ac"
"RPMCONFIGDIR=\"`echo \${usrprefix}/lib/rpm`\""
"RPMCONFIGDIR=\"/usr/lib/rpm\""
)

vcpkg_configure_make(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
Expand Down

0 comments on commit b76198d

Please sign in to comment.