Support perl 5.10 support in FindPerlLibs.cmake

This Closes: #541609. Thanks to Joshua Rubin for the patch.
ci/unstable
Modestas Vainius 16 years ago
parent 4bc798c21f
commit 8a04ff5d82

4
debian/changelog vendored

@ -7,8 +7,10 @@ cmake (2.6.4-2) UNRELEASED; urgency=low
* Use quilt.make rather than custom quilt patch implementation.
* Make debian/rules dpkg-buildpackage -jX safe and support parallel
in DEB_BUILD_OPTIONS (Closes: #538826).
* Add FindPerlLibs.cmake-perl-5.10.diff patch which adds perl 5.10 support in
FindPerlLibs.cmake (Closes: #541609). Thanks to Joshua Rubin.
-- Modestas Vainius <modestas@vainius.eu> Sat, 08 Aug 2009 11:06:53 +0300
-- Modestas Vainius <modestas@vainius.eu> Fri, 21 Aug 2009 19:35:21 +0300
cmake (2.6.4-1) unstable; urgency=low

@ -0,0 +1,19 @@
--- a/Modules/FindPerlLibs.cmake
+++ b/Modules/FindPerlLibs.cmake
@@ -8,6 +8,7 @@
#
SET(PERL_POSSIBLE_INCLUDE_PATHS
+ /usr/lib/perl/5.10.0/CORE
/usr/lib/perl/5.8.3/CORE
/usr/lib/perl/5.8.2/CORE
/usr/lib/perl/5.8.1/CORE
@@ -48,7 +49,7 @@
ENDIF(PERL_EXECUTABLE)
FIND_LIBRARY(PERL_LIBRARY
- NAMES ${PERL_POSSIBLE_LIBRARY_NAME} perl5.8.0
+ NAMES ${PERL_POSSIBLE_LIBRARY_NAME} perl5.8.0 perl
PATHS ${PERL_POSSIBLE_LIB_PATHS}
)

@ -5,3 +5,4 @@ kfreebsd-Platform.diff
executables-dont-need-fpic.diff
manpage_friendly_docs.diff
fix_bashisms.diff
FindPerlLibs.cmake-perl-5.10.diff

Loading…
Cancel
Save