aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt')
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt b/x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt
new file mode 100644
index 000000000000..928d9e79918e
--- /dev/null
+++ b/x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/tools/uic/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC
++++ src/tools/uic/CMakeLists.txt
+@@ -70,7 +70,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ endif()
+
+ if(CMAKE_SYSTEM_NAME MATCHES "(OpenBSD|FreeBSD|NetBSD)")
+- list(APPEND EXTRA_UIC_LDFLAGS '-Wl,-rpath,$ORIGIN/../lib')
++ list(APPEND EXTRA_UIC_LDFLAGS '-Wl,-rpath,${CS_FULL_LIBDIR}')
+ endif()
+
+ if(CMAKE_SYSTEM_NAME MATCHES "Windows")