diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-27 14:49:10 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-27 14:49:10 +0000 |
commit | 2c02e4c7421224e8926f0a375f4f3dbc211a88b2 (patch) | |
tree | cc3674f11f6c94e48c69efeccec125cb0f389629 /graphics/osg-devel/files/patch-CMakeModules_FindGStreamer.cmake | |
parent | 6a3078dbd1a0ba551544df036b5dccccda67bf9d (diff) | |
download | ports-2c02e4c7421224e8926f0a375f4f3dbc211a88b2.tar.gz ports-2c02e4c7421224e8926f0a375f4f3dbc211a88b2.zip |
Notes
Diffstat (limited to 'graphics/osg-devel/files/patch-CMakeModules_FindGStreamer.cmake')
-rw-r--r-- | graphics/osg-devel/files/patch-CMakeModules_FindGStreamer.cmake | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/osg-devel/files/patch-CMakeModules_FindGStreamer.cmake b/graphics/osg-devel/files/patch-CMakeModules_FindGStreamer.cmake new file mode 100644 index 000000000000..7b3259726d4b --- /dev/null +++ b/graphics/osg-devel/files/patch-CMakeModules_FindGStreamer.cmake @@ -0,0 +1,32 @@ +--- CMakeModules/FindGStreamer.cmake 2015-07-17 21:31:19.000000000 +0300 ++++ CMakeModules/FindGStreamer.cmake 2015-02-25 22:25:34.000000000 +0300 +@@ -83,18 +83,18 @@ + find_package(PkgConfig) + + macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _header _library) +- pkg_check_modules(${_component_prefix} QUIET ${_pkgconfig_name}) ++ pkg_check_modules(PC_${_component_prefix} QUIET ${_pkgconfig_name}) + +-# find_path(${_component_prefix}_INCLUDE_DIRS +-# NAMES ${_header} +-# HINTS ${PC_${_component_prefix}_INCLUDE_DIRS} ${PC_${_component_prefix}_INCLUDEDIR} +-# PATH_SUFFIXES gstreamer-1.0 +-# ) +- +-# find_library(${_component_prefix}_LIBRARIES +-# NAMES ${_library} +-# HINTS ${PC_${_component_prefix}_LIBRARY_DIRS} ${PC_${_component_prefix}_LIBDIR} +-# ) ++ find_path(${_component_prefix}_INCLUDE_DIRS ++ NAMES ${_header} ++ HINTS ${PC_${_component_prefix}_INCLUDE_DIRS} ${PC_${_component_prefix}_INCLUDEDIR} ++ PATH_SUFFIXES gstreamer-1.0 ++ ) ++ ++ find_library(${_component_prefix}_LIBRARIES ++ NAMES ${_library} ++ HINTS ${PC_${_component_prefix}_LIBRARY_DIRS} ${PC_${_component_prefix}_LIBDIR} ++ ) + endmacro() + endif () + |