freebsd-ports/x11-toolkits/qtermwidget/files/patch-cmake_create__pkgconfig__file.cmake
Olivier Duchateau 0371615c83 QTermWidget is an opensource project originally based on KDE4 Konsole
application. The main goal of this project is to provide unicode-enabled,
embeddable Qt widget for using as a built-in console (or terminal emulation
widget).

WWW: https://github.com/lxde/qtermwidget

PR:		210387
Submitted by:	Jason Bacon
2016-08-23 15:11:50 +00:00

10 lines
426 B
CMake

--- cmake/create_pkgconfig_file.cmake.orig 2014-10-21 15:47:40 UTC
+++ cmake/create_pkgconfig_file.cmake
@@ -25,5 +25,6 @@ macro (create_pkgconfig_file name desc r
"\n"
)
- install(FILES ${_pkgfname} DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ # Use libdata rather than CMAKE_INSTALL_LIBDIR for pkgconfig on FreeBSD
+ install(FILES ${_pkgfname} DESTINATION libdata/pkgconfig)
endmacro()