Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37812211
en ru br
ALT Linux repositórios
S:3.6.3-alt1
5.0: 2.48a-alt2
4.1: 2.45-alt2.2.1.qa1
4.0: 2.45-alt0.M40.2
3.0: 2.36-alt1.1

Outros repositórios
Upstream:2.45

Group :: Gráficos
RPM: blender

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: blender-2.66-alt-pcre.patch
Download


diff --git a/build_files/cmake/Modules/FindPCRE.cmake b/build_files/cmake/Modules/FindPCRE.cmake
index 1fd56dc1234..c0a0d48e5fe 100644
--- a/build_files/cmake/Modules/FindPCRE.cmake
+++ b/build_files/cmake/Modules/FindPCRE.cmake
@@ -34,7 +34,17 @@ SET(_pcre_SEARCH_DIRS
   /opt/local # DarwinPorts
 )
 
+if (NOT WIN32)
+  # use pkg-config to get the directories and then use these values
+  # in the FIND_PATH() and FIND_LIBRARY() calls
+  find_package(PkgConfig)
+  pkg_check_modules(PCRE libpcre)
+endif (NOT WIN32)
+
 FIND_PATH(PCRE_INCLUDE_DIR pcre.h
+  PATHS
+    ${PCRE_INCLUDEDIR}
+    ${PCRE_INCLUDE_DIRS}
   HINTS
     ${_pcre_SEARCH_DIRS}
   PATH_SUFFIXES
@@ -44,6 +54,9 @@ FIND_PATH(PCRE_INCLUDE_DIR pcre.h
 FIND_LIBRARY(PCRE_LIBRARY
   NAMES
     pcre
+  PATHS
+    ${PCRE_LIBDIR}
+    ${PCRE_LIBRARY_DIRS}
   HINTS
     ${_pcre_SEARCH_DIRS}
   PATH_SUFFIXES
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009