Skip to content

Commit

Permalink
use ${PSPDEV} for prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
diamant3 committed Sep 10, 2024
1 parent 41eda4a commit a4a4162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flatbuffers/PSPBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sha256sums=('4157c5cacdb59737c5d627e47ac26b140e9ee28b1102f812b36068aab728c1ed')
prepare() {
cd "$pkgname-${pkgver}/CMake"

sed -i '1 s/^/prefix=@CMAKE_INSTALL_PREFIX@\n/' flatbuffers.pc.in
sed -i '1 s/^/prefix=${PSPDEV}\n/' flatbuffers.pc.in

sed -i 's#@CMAKE_INSTALL_FULL_LIBDIR@#${prefix}/lib#' flatbuffers.pc.in
sed -i 's#@CMAKE_INSTALL_FULL_INCLUDEDIR@#${prefix}/include#' flatbuffers.pc.in
Expand Down

0 comments on commit a4a4162

Please sign in to comment.