mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
obexftp: fix paths in pkg-config file
This commit is contained in:
parent
b3d9858748
commit
96a487c3e6
@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ openobex ];
|
||||
|
||||
# https://sourceforge.net/p/openobex/bugs/66/
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
|
||||
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
|
||||
'';
|
||||
|
||||
# There's no such thing like "bluetooth" library; possibly they meant "bluez" but it links correctly without this.
|
||||
postFixup = ''
|
||||
sed -i 's,^Requires: bluetooth,Requires:,' $out/lib/pkgconfig/obexftp.pc
|
||||
|
Loading…
Reference in New Issue
Block a user