mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
libvncserver: fix generated pkg-config file
This commit is contained in:
parent
5e4cafbcea
commit
1a9be38901
@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-kqVZeCTp+Z6BtB6nzkwmtkJ4wtmjlSQBg05lD02cVvQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix generated pkg-config files
|
||||
./pkgconfig.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
28
pkgs/development/libraries/libvncserver/pkgconfig.patch
Normal file
28
pkgs/development/libraries/libvncserver/pkgconfig.patch
Normal file
@ -0,0 +1,28 @@
|
||||
diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein
|
||||
index ceeda39d..2516e643 100644
|
||||
--- a/libvncclient.pc.cmakein
|
||||
+++ b/libvncclient.pc.cmakein
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||
-libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=@CMAKE_INSTALL_PREFIX@/include
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: LibVNCClient
|
||||
Description: A library for easy implementation of a VNC client.
|
||||
diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein
|
||||
index 33ec6685..57244742 100644
|
||||
--- a/libvncserver.pc.cmakein
|
||||
+++ b/libvncserver.pc.cmakein
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||
-libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=@CMAKE_INSTALL_PREFIX@/include
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: LibVNCServer
|
||||
Description: A library for easy implementation of a VNC server.
|
Loading…
Reference in New Issue
Block a user