Commit graph

67 commits

Author SHA1 Message Date
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
adam
f2eaf6ba8a CMake 2.8.1
We are happy to announce the release of CMake 2.8.1. This is a minor release
from 2.8.0. In addition to addressing many issues, this version of CMake adds
some new features as well. The parallel nmake replacement from Nokia jom, now
has its own tested generator in CMake.

CTest can correctly kill process trees when a timeout occurs. The ctest_*
commands have been enhanced to take more options. When using the Intel
compilers CMake can correctly determine 32 bit vs. 64 bit builds. When running
in parallel mode (-j N), CTest can now compute and use a cost value for each
test to ensure the tests are run in an optimal order.
2010-04-09 13:25:34 +00:00
wiz
97d24656b9 Fix build on NetBSD/sparc*.
From Jochen Kunz.
2010-02-25 21:12:03 +00:00
drochner
593f67f958 a builtin curses which supports wsyncup is considered good enough,
don't need ncurses in this case
2010-02-23 19:51:59 +00:00
drochner
d202e4278e allow to override cmake's Python search order, to enforce the version
selected by pkgsrc
this automatically affects pkgs which use FIND_PACKAGE(PythonInterp)
or FIND_PACKAGE(PythonLibs)
2010-02-12 13:45:54 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
adam
8b604efb71 Changed 2.8.0:
This version of CMake fixes many open issues and provides some exciting new
features.
2009-11-25 19:08:18 +00:00
drochner
aad33fd9d5 bump PKGREVISION to get it rebuilt with the new xmlrpc-c dependency
pattern, should fix the "downgrade" problem reported by obache
2009-10-29 12:07:39 +00:00
adam
8622638926 Added PLIST.Darwin: cmake installs 'cmakexbuild' on Darwin 2009-08-30 17:05:48 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
hasso
e62c7276c3 Update to 2.6.4. Upstream changelog:
Changes in CMake 2.6.4 RC 6
- Use $ var in CPack.cmake, and not @var@
- Add more missing OSXX11 CPack files

Changes in CMake 2.6.4 RC 5
- Add missing file for OSXX11 CPack generator
- cmake-gui fix path length in the binary directory's combo box

Changes in CMake 2.6.4 RC 4
- Better document Verbatim in custom commands
- Fix #8843 ctest system information was not always correct on linux
- Fix transitive linking of imported libraries

Changes in CMake 2.6.4 RC 3
- Documentation fix for #8815
- Fix CDash only submit with ctest_submit
- various fixes for FindQt4.cmake
- cmake-gui block checkable flag for item during configure/generate.
- put qt version in about for cmake-gui

Changes in CMake 2.6.4 RC 2
- Fix issues in FindBoost #8576 #8734
- Fix -D issues with VS 6
- Fix scope issue with CMAKE_CURRENT_LIST_FILE  and macros
- Eclipse make VERBOSE off in makfiles #7585, and use built-in includes
- Codeblocks auto header finding
- Fix crash in include_directories #8704
- Some documentation fixes to commands and classes.
- Do not warn if LIBPATH is not set for nmake

Changes in CMake 2.6.4 RC 1
- Add some better documentation about RPATH variables
- No longer mark header files as HEADER_FILE_ONLY automatically,
  this gets rid of the ugly red marks in Visual Stuido
- Fix man-page preformatted text paragraphing
- Teach file(REMOVE) how to use relative paths
- Gracefully handle broken version symlinks
- Fix ASM source file extension default list
- Pass shared library export symbol in DEFINES
- Enforce unique binary directories
- Fix cmake-mode.el indentation cursor motion
- Simplify reverse cmLocalGenerator::Convert
- More robust decision to suppress implicit include dirs
- Fix Fortran implicit dependency include path (and test it)
- Clarify docs of old *_OUTPUT_PATH vars
- Fix svn update logic for modified files
- Add get_filename_component(... REALPATH)
- Work around broken GetLongPathName case
2009-05-11 08:02:09 +00:00
hasso
3f0fe0a549 * Unbreak searching software from /usr/local. There is no need to for all
this sed magic, _CMAKE_INSTALL_DIR in UnixPaths.cmake does that for us
  already. Only X11BASE needs special attention.

* Remove patch-ae which never worked in fact.

* Bump PKGREVISION.

Discussed-with: Mark Davies
2009-04-19 10:35:55 +00:00
drochner
7238a35359 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
2009-04-07 10:42:14 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
406c2e57b4 Update to 2.6.2:
Changes in CMake 2.6.2 RC 6
- Fix bug#7669 cpack did not work when sym-linked after install

Changes in CMake 2.6.2 RC 5
- Add beta BundleUtilities.cmake file
- CPackRPM 7435 fixes to add optional post-install
- Fix Bug #7456, FindBoost versioned find not working
- Fix FindCurses to be able to work without ncurses.h
- FindQt4 fix bug #7433, add a bit more documentation and add ability
   to specify extra flags to lupdate.

Changes in CMake 2.6.2 RC 4
- Fix bug #7359 make llvm-gcc work, by explicitely excluding
   "llvm-" from _CMAKE_TOOLCHAIN_PREFIX
- Fix bug 7046: OS X Framework support: extensionless headers were
   being ignored when specified as public headers
- Fix documentation in CheckCCompilerFlag.cmake
- Add better version support to find_package command
- Fix Xcode debug not working
- Add VERSION compare to if command
- Make FindThreads sete THREADS_FOUND
- Deb cpack generator sets Installed-Size for the package
- Do not add an empty /D"" at the end of VS 6 .dsp compile lines
- Recognize /MAP in VS 7 and greater
- Add new policy CMP0009 - GLOB_RECURSE should not follow symlinks by
default

Changes in CMake 2.6.2 RC 3
- Fix bug, and remove extra closing > in visual fortran projects.
- Fix bug in ctest -C where it was sometimes ignored.
- Fix crash with exec_process when cmake is being debugged on windows
- Fix unsetting of global properties

Changes in CMake 2.6.2 RC 2
- allow tool chains to limit object path length
- add info.plist to frameworks
- better preservation of user link lines
- add a get command for cmake policies
- support for imported libraries of unknown type
- support link interface in target_link_libraries
- Do not hang when select lies
- .m compiled with gcc and g++ on mac
- Fix issue when application bundle dir is removed cmake
   needs to re-run automatically
- Report an error when configure has one error
- Fix bug where -E commands stole command line options
- Fix infinite recursion bug with try-compile and change of compilers
- Fix delete and backspace in ccmake
- Fix coverage not to follow symlinks
- Add more possible languages for NSIS in cpack
- FindQt4.cmake fix bug #7433, add documentation that
   directories also can be specified to update the translation files.
- Add standard arg handling to FindPHP4.cmake
- Add X11R6 to search path for FindOpenGL
- update cmake-syntax.vim to have more keywords
- BUG: fix #7477, set VERBOSE=1 in the kdevelop setting for
   the environment, not together with the make executable
- UsePkgConfig.cmake - clean up, add a status message in case
   pkgconfig didn't find the package, sync with kde
- FindX11 look in more places
- FindTIFF look for more names
- FindQt3, make sure qt4 is not found and some style stuff
- FindPNG add more names of linpng (sync with the KDE version)
- FindKDE3/KDE4 sanity checks on qt versions found
- FindLibXMl2 also search for xmllint, which comes with libxml2
   (sync with FindLibXml2.cmake from KDE)
- Fix sizeof, and other compiler INFO string checks with
   GNU linker's --gc-sections
- Fix bogus dependency on executable targets when a linked library
   happended to match the name of an executable target
- Improve readability of circular depends error
- Fix crash on circular target dependencies
- find_package now knows about lib64 paths
- Fix gentoo elf security issue with RPATH and RUNPATH

Changes in CMake 2.6.2 RC 1
- Fix abort in eclipse generator with empty EXECUTABLE_OUTPUT_PATH
- Fix FindKDE3.cmake syntax error
- Fix custom command output by relative path not always working
- Fix bug, Do not convert RPATH entries to full path.
- Allow for "$ORIGIN" into the RPATH>
- Allow for static libraries with lots of objects using archive append
- Fix documentation for FindImageMagick.cmake
- Fix link error with MS compiler and comdef
- Fix crash when attempting to load the RPATH out of a non-ELF file
- Add --trace option to cmake allowing for the tracing of a cmake run
- Fix for issue #4971 where the case of the drive letter component of
   the filenames might be different when analyzing gcov output.
- Add warning level W0 to visual studio
- Add support for OSX library version flags
2008-11-08 13:20:17 +00:00
markd
e34d43bc4f Substitute /usr/local with ${LOCALBASE} (not ${X11BASE})
Bump PKGREVISION.
2008-09-13 10:53:51 +00:00
joerg
975a9a932d Do not use OPSYS for the platform rules, they are an enumeration of all
supported platforms. From PR 39407.
2008-08-26 11:37:10 +00:00
bjs
cb0e36ddf7 Update patchsum and remove trailing whitespace in Makefile. 2008-08-25 02:45:12 +00:00
bjs
38c7025385 Update to cmake-2.6.1. I could not find any release notes concise enough
to include here; the changelog for this release is here:

<http://www.cmake.org/pipermail/cmake/2008-August/023188.html>

For changes prior to this release, please see ${WRKSRC}/ChangeLog.

While here, add a list of *.cmake files in which to replace
/usr/${X11R6,local} with X11BASE and LOCALBASE, respectively.
Also, the [pkgsrc-relative] API, e.g. 2.6 is now defined by a variable
so that it can be used in pathnames for the build and the PLIST.
2008-08-25 02:44:05 +00:00
bjs
219983aa33 Update to version 2.4.8. ChangeLog does not include relases, and I don't
have time to go through it now to see what to include here.  See
${WRKSRC}/ChangeLog.txt if you're interested.

Insofar as I could tell, patch-ab and patch-ad no longer need apply.
2008-02-06 07:01:17 +00:00
tnn
b1fb85fc63 Fix broken curl test. 2008-02-03 13:01:11 +00:00
heinz
44878a2c64 Without a data segment size of ~ 270MB cmDependsJavaParser.cxx cannot be
compiled.
2008-02-03 02:12:11 +00:00
heinz
ab37ed6cd8 The package supports installation to DESTDIR. 2008-02-03 02:10:40 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
wiz
9abaf4f5d7 Depend on latest cmake, for shlib fixes. 2007-03-12 06:42:33 +00:00
wiz
a02cba1712 Apply patch from Kimura Fuyuki in PR 35954, fixing:
cmake-generated build system doesn't create symlinks for shared
libraries on NetBSD.

Bump PKGREVISION.
2007-03-12 06:42:12 +00:00
wiz
d28439a933 Use xmlrpc-c package instead of builtin version. Bump PKGREVISION. 2007-02-26 21:37:16 +00:00
wiz
25687c9bf6 Bump PKGREVISION for PLIST fix on non-NetBSD. 2007-02-25 08:50:14 +00:00
wiz
7b3e271329 s/${OPSYS}/NetBSD/ 2007-02-25 08:49:53 +00:00
wiz
1784becc93 Revert parts of previous.
Morale: always run cvs diff before committing.
2007-02-24 21:17:19 +00:00
wiz
198621bd8c Take maintainership. 2007-02-24 21:13:50 +00:00
wiz
e264b3e8f0 Update to 2.4.6:
Changes in CMake 2.4.6

* Remove svn test in ctestctest3

* Fix for FIND_* order and framworks with PREFIX usage.

* Fix for FindDoxygen and quiet mode.

* Find JavaVM as well as jvm

* Look for ruby1.8 and ruby

* Fix for cpack .tgz.sh and dash

* Fix for finding custom commands from a full path with CMAKE_CFG_INTDIR.

* Fix for Borland make and custom commands that do nothing


Changes in CMake 2.4.5
* Fix for seg fault when a macro runs a bad command BUG# 3815

* Fix fix for foo.dll.lib that does not brea -L/usr/lib in link names

* Fix problem with LIBRARY_OUTPUT_PATH and linking to a dll foo.dll.lib
  instead of foo.lib

* Do not depend on optimized libraries for a debug build and visa versa.

* Fix target name matching custom command output conflict.

* Fix FindQt3 so that it does not find qt4

* Fix FindKDE4 so that it only looks for kde4-config

Changes in CMake 2.4.4

* CMake Version numbers on module directory

* elseif added

* Fix docs in CheckCSourceCompiles CheckCXXSourceCompiles and diagnostic
  output.

* added Check(C/CXX)SourceRuns.cmake, CheckCXXCompilerFlag.cmake, Check

* add static and shared flags to make sure the specified versions of
  libraries are used with -static -lfoo -shared -lbar

*  Search for the compiler only once and store a full path. avoids problems
  with PATH changes in cmake re-runs.

* make sure manifest files are generated with VS 8

* added FindASPELL.cmake, FindBZip2.cmake FindHPELL.cmake, FindJasper.cmake
  FindLibXml2.cmake, FindLibXslt.cmake, FindOpenSSL.cmake

* fix for bug#3646 GLUT not Glut for framework name

* many fixes for FindKDE3.cmake

* Better FindPNG that honors REQUIRED and looks in more places.

* Support to find python 2.5

* Find Qt3 better

* Find Qt4 better and work with qmake and qmake-qt4 on the same machine.

* Much better FindRuby.cmake

* More stuff marked as advanced in FindTcl and FindSDL

* FindwxWidgets runs shell script wx-config with sh

* Support for cpack and vs8 install libraries

* Darwin shared library create and Fortran now work

* Support for isystem directories INCLUDE_DIRECTORIES (SYSTEM)

* Targets in makefiles to create pre-processed files and assembly files
  can be turned off with these variables:
   CMAKE_SKIP_PREPROCESSED_SOURCE_RULES CMAKE_SKIP_ASSEMBLY_SOURCE_RULES

* Support for QNX

* Better default search paths for unix and FIND_* stuff

* Use link /lib and not lib to create static libraries with MS

* Useqt4 works with static qt4 and other fixes

* UseSwig.cmake interface to add extra dependencies.

* Added APPEND option to ADD_CUSTOM_COMMAND, Added VERBATIM option to
  ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET

* add EXCLUDE_FROM_ALL option  for ADD_LIBRARY and ADD_EXECUTABLE

* Fix automatic computation of binary path to work for subdirectories of out
  of source directories.  This addresses bug#3592.

* --debug-ouput to cmake that gives stack trace to message send error commands.
  The stack trace is no longer there without it.

* + can be in a variable

* Do not replace @VAR@ syntax in list files.  This addresses bug #2722

* much faster depend scanning

* do depends on system include directories

* Permission and install directory fixes

* New target property <CONFIG>_LOCATION (Debug, Release, etc)

* fix exclude from all in VS

* fix code completion problem in KDevelop

* Define MSYS when using msys generator

* fix referencece to projects outside the build tree VS 7,8

* Fix ZERO_CHECK to not always try and rebuild

* Fix Xcode universal binary rebuild problem

* add FILE_IS_NEWER to if command

* Add OPTIONAL to INSTALL command fix bug@2922

* add SORT and REVERSE to LIST command

* fix for seg fault bug #3815

* add SYBOLIC as a source file property see SET_SOURCE_FILES_PROPERTIES

* fix ctest valgrind if no coverage is done

* better message if bogus generator is specified.

* Better FindJava and FindJNI

* Fix doxygen.config for CMake

* add CPACK_MODULE_PATH

* Fix configuration for ctest dashboard targets Experimental, Nightly, etc

* Fix FindDoxygen for mac and app-bundles

* Fix CPack simple install test with NSIS

* Allow EXECUTE_PROCESS to strip trailing white space

* Fix mingw echo in makefiles

* Fix Xcode to not mess up -gdwarf-2

* Fix crash when "linking" to custom targets.

* Allow HEADER_FILE_ONLY to not compile the file in VS 7 and 8

* Fix mingw out of binary with spaces in the path.

* Fix for sudo make install (partial)

* Allow installed zlib, curl, expat, xmlrpc to be used.

* Add CMakeDependentOption.cmake module

* Allow projects to set install prefix default

* improved Find/Use wxWidgets

* add support for windows dll version numbers

* Fix message for -G when generator does not exist

* Fix html references in help

* Fix version on .exe cygwin

* allow global timeout in ctest

* Fix some odd cases with custom commands in VS 6

* Fix path suffix stuff with lib64 in FIND_* stuff.

* Fix delete in CMakeSetup to not change the current position in the list

* Fix debug stl run of ctest on Mac

* Use #2 for manifest nt command on dll and #1 on exe

* Add depends from files inside qrc files in qt

* Fix explort_library_depends to work with optimized and debug

Changes in CMake 2.4.3

* fix for 3557 - Under MSVC8 hardcoded TargetEnvironment for MIDL Compiler

* Fix for Xcode all projects to prevent -fvisibility=hidden flags. This is
needed to make RTTI work by default.

* better prototype for main in try compile of c programs avoids warnings in
logs.

* with visual studio do not use incremental linking for release builds by
default.

* fix bootstrap to use more ansi c main it test compiler

* fix import build settings to do case insensitive match on windows

* fix building in root directory c:/

* Add support for CXX only projects

* Better FindWxWidgets

* Added FindBoose.cmake

* add more fortran file extensions

* Cpack supports multiple packages at the same time

* Fix to FindKDE4 to look for kde4-config first

* Support for env var CMAKE_CONFIG_TYPE in ctest

* Fix for -DVAR=foo on the command line not saving to the cache

* ENH: Added creation of XXX_FIND_COMPONENTS list of all components requested
  withREQUIRED option.  This addresses the feature request in bug#3494.

* Object files get safe names

* progress is now reported with makefiles

* location of CMakeTmp changed to a varible

* CMAKE_COLOR_MAKEFILE cache variable available to turn off color output

* fixes for FindQt4 on mac.

* Better search paths for finding VTK

* Fix relative path problems in ADD_SUBDIRECTORY

* Fix long link commands on UNIX shells

* Fix depend file names in makefiles for generated headers

* CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS allows for if/endif without variable

* Xcode multiple custom command problem fixed.

* INSTALL_RPATH_USE_LINK_PATH when true will add the link path to the rpath

* Add target/fast rules in the sub directories

* Fix Visual stuido C and C++ targets to not add /TP and /TC

* print a context when cmake errors occur

* add rxvt-unicode, cygwin, and screen terminal support for color output

* Fix crash in CMakeSetup when status line is long

* make sure try compile files have a newline at the end

* fix for hp itanium build
2007-02-23 11:48:18 +00:00
rillig
844f69b983 Fixed "test ==". 2006-10-11 19:23:53 +00:00
joerg
4a6ca287b6 Bump revision for last change. 2006-10-08 13:01:52 +00:00
rillig
babefbcc46 Fixed a useful pkglint warning. (hi joerg.) 2006-10-02 20:56:33 +00:00
joerg
fbfc4e04b8 Replace hard-coded /usr/X11R6 with X11BASE, so that X11_TYPE != native
for example has a change to find X11. Bump revision.
2006-09-24 16:22:16 +00:00
rillig
ad556ce574 Since cmake is currently only used in BUILD_DEPENDS, not in DEPENDS,
set BUILDLINK_DEPMETHOD to "build" by default.
2006-08-31 13:49:35 +00:00
rillig
fcbd7842ba Added a buildlink3.mk file, which is needed by graphics/vtk, for
example.
2006-08-31 13:20:36 +00:00
joerg
b8c586221d Spell OPSYS as NetBSD as it is supposed to be. 2006-05-21 13:53:05 +00:00
rillig
4cf7bbb0c1 ... I forgot to say: This update to 2.4.2 has mainly been done by Mark
Kirby in PR 33515, with slight improvements by me.
2006-05-19 21:35:01 +00:00
rillig
6d4a73fced Updated cmake to 2.4.2.
Since 2.0.5, there have been numerous small bug fixes, improvements in
speed and portability.
2006-05-19 21:32:52 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
reed
69fc97094d Add a Modules/Platform/DragonFly.cmake file (copied from FreeBSD.cmake).
cmake not tested on DragonFly, but did build package on DragonFly.

Also hardcode "NetBSD" in PLIST instead of ${OPSYS} so deinstall
works on non-NetBSD platforms.

Bump PKGREVISION.
2005-10-29 15:57:48 +00:00
rillig
791c6535e3 Fixed the --mandir argument to configure. Makes the package build again on
NetBSD-1.6.2/i386.
2005-10-24 15:15:25 +00:00
rillig
e3b44a118f Sorted PLISTs. 2005-10-23 16:03:10 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00