195 Commits

Author SHA1 Message Date
espie
88170a8ca8 be more stupid, always tag _build/runtime_params and .ninja_log
as files that may change.  there's really no need for logic, who else
would use those files ?
2017-11-28 10:26:00 +00:00
espie
7536a9e0ac reduce noise in check-wrkdir output, ninja builds update their log during
fake, and that's okay
2017-11-25 12:19:07 +00:00
sthen
7ca2ede1cf add a !defined(CONFIGURE_ARGS) check to unbreak cmake things that don't
set CONFIGURE_ARGS, reported by jca@, thanks!
2017-11-02 14:32:37 +00:00
sthen
b3d1116028 Don't override CMAKE_BUILD_TYPE if a port wants to take control. ok landry@ 2017-11-02 11:04:37 +00:00
dcoppa
39d889d7d4 Update to CMake-3.9.3 2017-09-22 13:42:54 +00:00
dcoppa
afac03f005 Bugfixing update to cmake-3.9.2 2017-09-08 06:32:29 +00:00
dcoppa
698ae8c08d cmake: Fix --find-package mode with imported targets
(upstream git commit 18454ea44d6a1fd2dbc613ad9c3fe941639563aa)

Before:

$ cmake --find-package -DNAME=TIFF -DLANGUAGE=C -DCOMPILER_ID=GNU -DMODE=LINK
CMake Error at /usr/local/share/cmake/Modules/FindTIFF.cmake:78 (add_library):
  Unknown CMake command "add_library".
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/CMakeFindPackageMode.cmake:180 (find_package)

TIFF not found.
CMake Error: Problem processing arguments. Aborting.

After:

$ cmake --find-package -DNAME=TIFF -DLANGUAGE=C -DCOMPILER_ID=GNU -DMODE=LINK
 -L/usr/local/lib -ltiff -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib
2017-09-01 08:45:13 +00:00
dcoppa
16afbc2029 Update to CMake-3.9.1
Tests and feedback by rsadowski@, schwarze@
Ports bulk build by sthen@
2017-08-26 17:53:35 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
zhuk
1ccdac894c Use standard CMake idiom for Foo_INCLUDE_DIR/DIRS and Foo_LIBRARY/LIBRARIES
in FindLibXml2.cmake.

To be used by pgpointcloud port. See also the upstream merge request #1043:
https://gitlab.kitware.com/cmake/cmake/merge_requests/1043

okay dcoppa@, landry@
2017-07-10 23:05:54 +00:00
dcoppa
c2cb84c7eb Revert previous 2017-07-04 20:07:51 +00:00
dcoppa
1d66a1f07e include/libxml2/libxml/encoding.h wants iconv.h, so teach
FindLibXml2.cmake how to find the libiconv include directory.

Problem spotted by landry@ while porting geo/pgpointcloud
2017-07-04 16:38:53 +00:00
kurt
ad353c9559 Update for devel/jdk/1.7 removal. okay dcoppa@ sthen@ 2017-04-21 18:37:43 +00:00
sthen
7b9fdbb2c9 use LIBCXX 2017-04-10 11:45:22 +00:00
dcoppa
6b7e5a80b9 Update to cmake-3.7.2 2017-01-16 08:51:50 +00:00
dcoppa
ae3598771b Bugfixing update to cmake-3.7.1 2016-12-01 09:38:54 +00:00
dcoppa
a3c284dfa6 Update to CMake-3.7.0
Thanks to naddy@ who ran a bulk build with it
2016-11-28 09:15:13 +00:00
dcoppa
254f28304c maintenance update to cmake-3.6.3 2016-11-04 09:34:22 +00:00
dcoppa
47f0d4d5b0 Maintenance update to cmake-3.6.2.
Nothing worth of interest for us.
2016-09-08 07:53:32 +00:00
dcoppa
2a16923e13 Hack cmake so that if webkit is in the list of shared libraries
that are passed to the linker, automatically add '-Wl,-z,wxneeded'
to the linker flags.
Works for libQt5WebKit, libQtWebKit, libwebkit2gtk, libwebkitgtk.

Requested by, and ok, ajacoutot@
Also ok landry@
2016-09-06 08:43:54 +00:00
dcoppa
938e116557 Revert previous, it was causing breakage to some ports.
spotted by naddy@
2016-08-13 15:01:13 +00:00
dcoppa
5579805dd1 FindPkgConfig: call find_library() for every library returned by
the .pc file, so that at the end a list of full paths to the libraries
is returned.
This makes the pkg_check_modules() behaviour consistent with the
normal CMake convention, where use of link_directories() is discouraged
in favour of using absolute paths to system libraries.

Patch by Sam Thursfield <sam.thursfield@codethink.co.uk>
https://cmake.org/Bug/view.php?id=15804
2016-08-12 14:23:02 +00:00
dcoppa
168d14aa46 Update to CMake-3.6.1.
Tested in a bulk build by naddy@: the one and only fallout has been
fixed.
2016-08-08 07:44:48 +00:00
dcoppa
5ca8fee37b Update to CMake-3.5.2
ok sthen@
2016-04-29 10:34:33 +00:00
sthen
fd870f2264 Clean up some bits missed in yesterday's systrace removal. 2016-04-26 10:56:59 +00:00
dcoppa
4118e5c5b9 sync 2016-04-19 19:48:28 +00:00
shadchin
525cd9c2bd Unbreak after py-sphinx update to 1.4 2016-04-15 08:53:48 +00:00
dcoppa
4150790c68 sync 2016-03-24 13:22:21 +00:00
jsg
d47b7967c5 Switch arm back to using base gcc for cmake. This requires disabling
the stack protector so the bootstrap won't hit toolchain bugs.

ok dcoppa@ sthen@
2016-02-19 01:19:51 +00:00
dcoppa
f4ead80e7b Do not handle jsoncpp in a special way, treat it like all the other
external libraries

$ diff -u objdump-pre.out objdump-post.out | grep libjsoncpp
-  NEEDED      /usr/local/lib/libjsoncpp.so.0.0
+  NEEDED      libjsoncpp.so.0.0
2016-01-28 11:28:02 +00:00
dcoppa
3cf039bccd Use g++-4.9 from ports to build cmake on arm
OK jsg@, sthen@
2016-01-28 09:22:31 +00:00
dcoppa
2fb56e44cb Update to cmake-3.4.3.
Windows10-related fixes
2016-01-26 08:44:07 +00:00
dcoppa
2ac2301d47 Maintenance update to cmake-3.4.2.
Nothing interesting for us...
2016-01-20 09:39:46 +00:00
jsg
ac49dd042a set CXXFLAGS in addition to CFLAGS for an arm specific workaround here as well 2015-12-29 14:44:34 +00:00
dcoppa
0d42ad63d4 Remove superfluous patch 2015-12-18 17:23:39 +00:00
dcoppa
d44d84fe73 Fix pasto:
size_t last = env_vers.find_first_of(".");

should have been

size_t last = env_vers.find_last_of(".");

Spotted by zhuk@
Gave him my ok for the diff, but he probably forgot to commit it
2015-12-18 17:20:40 +00:00
dcoppa
9b5da80c97 Update version constraint 2015-12-09 11:50:46 +00:00
dcoppa
f5fc7863ae ... And CMake-3.4.1 (bugfixing update) 2015-12-09 11:34:50 +00:00
dcoppa
2adf52d8e1 Update to cmake-3.4.0
tested in a bulk build by naddy@
kde4-related failures proactively fixed by zhuk@
2015-12-08 17:18:59 +00:00
dcoppa
9d67abb404 Bugfixing update to cmake-3.3.2 2015-09-18 09:18:56 +00:00
dcoppa
23325ca1f9 Update to CMake-3.3.1
No fallout in a bulk build
OK ajacoutot@
2015-09-03 07:09:25 +00:00
dcoppa
6c17bbe07c second attempt 2015-08-03 06:11:50 +00:00
dcoppa
db74980504 tentative trick to please portroach... 2015-08-01 11:48:16 +00:00
dcoppa
3c70fd267f Prompted by a mail from "EdaSky"
(http://marc.info/?l=openbsd-misc&m=143552406830762):

automagically add pthread to Boost_LIBRARIES and '-pthread' to
compiler flags if the boost_thread component is requested.

Fix boost_thread's "Compiler threading support is not turned on,
please set the correct command line options for threading" error
without the need to tamper with CMAKE_CXX_FLAGS.

Based on a patch found in the Debian package for cmake, which I've
enhanced/modernized a bit.
2015-07-01 08:08:18 +00:00
dcoppa
803f09c5c3 jdk-1.8 bits for CMake 2015-06-24 06:39:03 +00:00
dcoppa
3ad5c2b40a maintenance update to CMake 3.2.3 2015-06-03 08:25:30 +00:00
dcoppa
93744b1d47 Maintenance update to cmake-3.2.2 2015-04-23 09:19:44 +00:00
sthen
1b450b8415 add some missing pthread to WANTLIB
(using modified portbump, thanks zhuk@)
2015-04-21 18:33:48 +00:00
dcoppa
1a7b3ab17b Update to CMake-3.2.1
Tested in a bulk build by landry@
OK landry@
2015-03-26 07:10:02 +00:00