diff options
author | drochner <drochner> | 2009-04-07 10:42:14 +0000 |
---|---|---|
committer | drochner <drochner> | 2009-04-07 10:42:14 +0000 |
commit | 1e8208bf2f076413a61b77a7fcede49a63e71ecb (patch) | |
tree | 116f525f05c4c7ba0657e00a47e865118943017e /devel | |
parent | 65c2a1fa8fa21558153304e86a25e18c5e5b4d21 (diff) | |
download | pkgsrc-1e8208bf2f076413a61b77a7fcede49a63e71ecb.tar.gz |
update to 2.6.3
changes:
Add parenthetical expressions to if
Improve scoping of policies (see cmake_policy and CMP0011)
Teach find_package more config file locations
Many improved Find scripts in Modules
Added an unset command
Better reporting when nmake compiler environment is not correct
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cmake/Makefile | 4 | ||||
-rw-r--r-- | devel/cmake/PLIST | 20 | ||||
-rw-r--r-- | devel/cmake/distinfo | 9 | ||||
-rw-r--r-- | devel/cmake/patches/patch-af | 31 |
4 files changed, 57 insertions, 7 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index c43b3bd47c3..3dd32f74ee7 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.41 2008/11/08 13:20:17 wiz Exp $ +# $NetBSD: Makefile,v 1.42 2009/04/07 10:42:14 drochner Exp $ -DISTNAME= cmake-${CMAKE_API}.2 +DISTNAME= cmake-${CMAKE_API}.3 CATEGORIES= devel MASTER_SITES= http://www.cmake.org/files/v2.6/ diff --git a/devel/cmake/PLIST b/devel/cmake/PLIST index 0eebf268017..f9f3d887ba4 100644 --- a/devel/cmake/PLIST +++ b/devel/cmake/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2008/11/08 13:20:17 wiz Exp $ +@comment $NetBSD: PLIST,v 1.15 2009/04/07 10:42:14 drochner Exp $ bin/ccmake bin/cmake bin/cpack @@ -19,6 +19,7 @@ share/cmake-${CMAKE_API}/Modules/CMake.cmake share/cmake-${CMAKE_API}/Modules/CMakeASM-ATTInformation.cmake share/cmake-${CMAKE_API}/Modules/CMakeASMCompiler.cmake.in share/cmake-${CMAKE_API}/Modules/CMakeASMInformation.cmake +share/cmake-${CMAKE_API}/Modules/CMakeASM_MASMInformation.cmake share/cmake-${CMAKE_API}/Modules/CMakeBackwardCompatibilityC.cmake share/cmake-${CMAKE_API}/Modules/CMakeBackwardCompatibilityCXX.cmake share/cmake-${CMAKE_API}/Modules/CMakeBorlandFindMake.cmake @@ -37,6 +38,7 @@ share/cmake-${CMAKE_API}/Modules/CMakeConfigurableFile.in share/cmake-${CMAKE_API}/Modules/CMakeDependentOption.cmake share/cmake-${CMAKE_API}/Modules/CMakeDetermineASM-ATTCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeDetermineASMCompiler.cmake +share/cmake-${CMAKE_API}/Modules/CMakeDetermineASM_MASMCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeDetermineCCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeDetermineCXXCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeDetermineCompilerABI.cmake @@ -69,6 +71,7 @@ share/cmake-${CMAKE_API}/Modules/CMakeSystem.cmake.in share/cmake-${CMAKE_API}/Modules/CMakeSystemSpecificInformation.cmake share/cmake-${CMAKE_API}/Modules/CMakeTestASM-ATTCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeTestASMCompiler.cmake +share/cmake-${CMAKE_API}/Modules/CMakeTestASM_MASMCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeTestCCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeTestCXXCompiler.cmake share/cmake-${CMAKE_API}/Modules/CMakeTestForFreeVC.cxx @@ -139,11 +142,14 @@ share/cmake-${CMAKE_API}/Modules/FindBoost.cmake share/cmake-${CMAKE_API}/Modules/FindCABLE.cmake share/cmake-${CMAKE_API}/Modules/FindCURL.cmake share/cmake-${CMAKE_API}/Modules/FindCVS.cmake +share/cmake-${CMAKE_API}/Modules/FindCoin3D.cmake share/cmake-${CMAKE_API}/Modules/FindCups.cmake share/cmake-${CMAKE_API}/Modules/FindCurses.cmake +share/cmake-${CMAKE_API}/Modules/FindCxxTest.cmake share/cmake-${CMAKE_API}/Modules/FindCygwin.cmake share/cmake-${CMAKE_API}/Modules/FindDCMTK.cmake share/cmake-${CMAKE_API}/Modules/FindDart.cmake +share/cmake-${CMAKE_API}/Modules/FindDevIL.cmake share/cmake-${CMAKE_API}/Modules/FindDoxygen.cmake share/cmake-${CMAKE_API}/Modules/FindEXPAT.cmake share/cmake-${CMAKE_API}/Modules/FindFLTK.cmake @@ -181,7 +187,9 @@ share/cmake-${CMAKE_API}/Modules/FindMatlab.cmake share/cmake-${CMAKE_API}/Modules/FindMotif.cmake share/cmake-${CMAKE_API}/Modules/FindOpenAL.cmake share/cmake-${CMAKE_API}/Modules/FindOpenGL.cmake +share/cmake-${CMAKE_API}/Modules/FindOpenMP.cmake share/cmake-${CMAKE_API}/Modules/FindOpenSSL.cmake +share/cmake-${CMAKE_API}/Modules/FindOpenSceneGraph.cmake share/cmake-${CMAKE_API}/Modules/FindOpenThreads.cmake share/cmake-${CMAKE_API}/Modules/FindPHP4.cmake share/cmake-${CMAKE_API}/Modules/FindPNG.cmake @@ -199,6 +207,7 @@ share/cmake-${CMAKE_API}/Modules/FindQt.cmake share/cmake-${CMAKE_API}/Modules/FindQt3.cmake share/cmake-${CMAKE_API}/Modules/FindQt4.cmake share/cmake-${CMAKE_API}/Modules/FindQuickTime.cmake +share/cmake-${CMAKE_API}/Modules/FindRTI.cmake share/cmake-${CMAKE_API}/Modules/FindRuby.cmake share/cmake-${CMAKE_API}/Modules/FindSDL.cmake share/cmake-${CMAKE_API}/Modules/FindSDL_image.cmake @@ -208,6 +217,7 @@ share/cmake-${CMAKE_API}/Modules/FindSDL_sound.cmake share/cmake-${CMAKE_API}/Modules/FindSDL_ttf.cmake share/cmake-${CMAKE_API}/Modules/FindSWIG.cmake share/cmake-${CMAKE_API}/Modules/FindSelfPackers.cmake +share/cmake-${CMAKE_API}/Modules/FindSquish.cmake share/cmake-${CMAKE_API}/Modules/FindSubversion.cmake share/cmake-${CMAKE_API}/Modules/FindTCL.cmake share/cmake-${CMAKE_API}/Modules/FindTIFF.cmake @@ -222,6 +232,7 @@ share/cmake-${CMAKE_API}/Modules/FindX11.cmake share/cmake-${CMAKE_API}/Modules/FindXMLRPC.cmake share/cmake-${CMAKE_API}/Modules/FindZLIB.cmake share/cmake-${CMAKE_API}/Modules/Findosg.cmake +share/cmake-${CMAKE_API}/Modules/FindosgAnimation.cmake share/cmake-${CMAKE_API}/Modules/FindosgDB.cmake share/cmake-${CMAKE_API}/Modules/FindosgFX.cmake share/cmake-${CMAKE_API}/Modules/FindosgGA.cmake @@ -235,8 +246,13 @@ share/cmake-${CMAKE_API}/Modules/FindosgTerrain.cmake share/cmake-${CMAKE_API}/Modules/FindosgText.cmake share/cmake-${CMAKE_API}/Modules/FindosgUtil.cmake share/cmake-${CMAKE_API}/Modules/FindosgViewer.cmake +share/cmake-${CMAKE_API}/Modules/FindosgVolume.cmake +share/cmake-${CMAKE_API}/Modules/FindosgWidget.cmake +share/cmake-${CMAKE_API}/Modules/Findosg_functions.cmake share/cmake-${CMAKE_API}/Modules/FindwxWidgets.cmake share/cmake-${CMAKE_API}/Modules/FindwxWindows.cmake +share/cmake-${CMAKE_API}/Modules/FortranCInterface.cmake +share/cmake-${CMAKE_API}/Modules/FortranCInterface.h.in share/cmake-${CMAKE_API}/Modules/GetPrerequisites.cmake share/cmake-${CMAKE_API}/Modules/ITKCompatibility.cmake share/cmake-${CMAKE_API}/Modules/InstallRequiredSystemLibraries.cmake @@ -268,6 +284,7 @@ share/cmake-${CMAKE_API}/Modules/Platform/Generic-ADSP-Common.cmake share/cmake-${CMAKE_API}/Modules/Platform/Generic-SDCC-C.cmake share/cmake-${CMAKE_API}/Modules/Platform/Generic.cmake share/cmake-${CMAKE_API}/Modules/Platform/HP-UX.cmake +share/cmake-${CMAKE_API}/Modules/Platform/Haiku.cmake share/cmake-${CMAKE_API}/Modules/Platform/IRIX.cmake share/cmake-${CMAKE_API}/Modules/Platform/IRIX64.cmake share/cmake-${CMAKE_API}/Modules/Platform/Linux-GNU-Fortran.cmake @@ -322,6 +339,7 @@ share/cmake-${CMAKE_API}/Modules/Platform/gcc.cmake share/cmake-${CMAKE_API}/Modules/Platform/kFreeBSD.cmake share/cmake-${CMAKE_API}/Modules/Platform/syllable.cmake share/cmake-${CMAKE_API}/Modules/Platform/xlf.cmake +share/cmake-${CMAKE_API}/Modules/SquishTestScript.cmake share/cmake-${CMAKE_API}/Modules/SystemInformation.cmake share/cmake-${CMAKE_API}/Modules/SystemInformation.in share/cmake-${CMAKE_API}/Modules/TestBigEndian.cmake diff --git a/devel/cmake/distinfo b/devel/cmake/distinfo index e661cbe6556..c5d5f42e0ed 100644 --- a/devel/cmake/distinfo +++ b/devel/cmake/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.17 2008/11/08 13:20:17 wiz Exp $ +$NetBSD: distinfo,v 1.18 2009/04/07 10:42:14 drochner Exp $ -SHA1 (cmake-2.6.2.tar.gz) = 48d33afaf23d40f2ea9aa2f5018c7213983222c2 -RMD160 (cmake-2.6.2.tar.gz) = df7ed9bba605bf31494aa1b835dee264b5fcb6bd -Size (cmake-2.6.2.tar.gz) = 3543548 bytes +SHA1 (cmake-2.6.3.tar.gz) = bf34e1661954d808ac3a3eb9d394b69e4d3b1a98 +RMD160 (cmake-2.6.3.tar.gz) = 14f0e878844f55a1b3d02837e98087dcaabb16be +Size (cmake-2.6.3.tar.gz) = 3594959 bytes SHA1 (patch-ae) = bcbf3a492d692fb3ca245f41c3e15f50c51bd3bd +SHA1 (patch-af) = 6fbbd58d67fac0261b958d2a68e2a44e24199b01 diff --git a/devel/cmake/patches/patch-af b/devel/cmake/patches/patch-af new file mode 100644 index 00000000000..88d4e8823db --- /dev/null +++ b/devel/cmake/patches/patch-af @@ -0,0 +1,31 @@ +$NetBSD: patch-af,v 1.1 2009/04/07 10:42:14 drochner Exp $ + +--- Modules/CPack.RuntimeScript.in.orig 2009-03-31 13:42:52.000000000 +0200 ++++ Modules/CPack.RuntimeScript.in +@@ -6,7 +6,7 @@ CWD="`dirname \"$0\"`" + TMP=/tmp/$UID/TemporaryItems + + version=`sw_vers -productVersion` +-if [ "$?" == "0" ]; then ++if [ "$?" = "0" ]; then + major=${version%%\.*} + rest=${version#*\.} + minor=${rest%%\.*} +@@ -24,7 +24,7 @@ echo "Build = $build" + + + # if 10.5 or greater, then all the open-x11 stuff need not occur +-if ((( $major < 10 )) || ((( $major == 10)) && (( $minor < 5 )))); then ++if (expr \( $major \< 10 \) \| \( \( $major = 10 \) \& \( $minor \< 5 \) \)); then + version=`sw_vers -productVersion` + if [ "$?" = "0" ]; then + major=${version%%\.*} +@@ -44,7 +44,7 @@ echo "Build = $build" + + + # if 10.5 or greater, then all the open-x11 stuff need not occur +-if ((( $major < 10 )) || ((( $major == 10)) && (( $minor < 5 )))); then ++if (expr \( $major \< 10 \) \| \( \( $major = 10 \) \& \( $minor \< 5 \) \)); then + ps -wx -ocommand | grep -e '[X]11.app' > /dev/null + if [ "$?" != "0" -a ! -f ~/.xinitrc ]; then + echo "rm -f ~/.xinitrc" > ~/.xinitrc |