summaryrefslogtreecommitdiff
path: root/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake')
-rw-r--r--www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake b/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake
deleted file mode 100644
index cb01e64..0000000
--- a/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake
+++ /dev/null
@@ -1,16 +0,0 @@
1Put the internal library path first so that we can
2build with an older webkitgtk4 package installed.
3
4Index: Source/cmake/OptionsCommon.cmake
5--- Source/cmake/OptionsCommon.cmake.orig
6+++ Source/cmake/OptionsCommon.cmake
7@@ -180,6 +180,9 @@ if (NOT PORT STREQUAL "GTK" AND NOT PORT STREQUAL "WPE
8 set(LIBEXEC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Absolute path to install executables executed by the library")
9 endif ()
10
11+# make sure that the internal library dir is the first in the path
12+link_directories("${CMAKE_BINARY_DIR}/lib")
13+
14 # Check whether features.h header exists.
15 # Including glibc's one defines __GLIBC__, that is used in Platform.h
16 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_FEATURES_H features.h)