diff options
Diffstat (limited to 'www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake')
| -rw-r--r-- | www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake b/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake new file mode 100644 index 0000000..cb01e64 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | Put the internal library path first so that we can | ||
| 2 | build with an older webkitgtk4 package installed. | ||
| 3 | |||
| 4 | Index: 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) | ||
