181 Commits

Author SHA1 Message Date
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
dcoppa
eb4b576717 Maintenance update to CMake-3.1.3 2015-02-13 14:17:36 +00:00
dcoppa
88d93df41e Bugfixing update to cmake-3.1.2 2015-02-06 08:09:42 +00:00
dcoppa
f5a8aa2c82 Remove comment for an upstream commit that has been reverted 2015-01-28 13:52:41 +00:00
dcoppa
a23a7d8eb2 Maintenance update to cmake-3.1.1 2015-01-23 18:01:09 +00:00
dcoppa
b8b360d24a Fetch the right version of ruby from MODRUBY_REV automagically 2015-01-20 11:41:32 +00:00
dcoppa
e34a9fc53c Pass MODRUBY_REV to CONFIGURE_ENV 2015-01-19 10:26:35 +00:00
dcoppa
10be5475f8 FindRuby.cmake: fix selection of version x.0
FindRuby.cmake: properly detect Ruby 2.2.0
2015-01-13 08:22:48 +00:00
dcoppa
f8ca00b39a Sync patches with upstream:
FindQt4: search for versioned qmake names first before general qmake
(upstream git commit 8de3f22e8fe9e798b63eb00e35eee6404748d3bd)

FindSDL: fix bad variable expansion
(upstream git commit fd329307b2ee76abaa41e25a300902a2fb983895)
2015-01-08 16:58:00 +00:00
dcoppa
7f3e75a1ad Update to cmake-3.1.0
Bulk build by landry@
KDE-related fixes by zhuk@
2014-12-31 11:06:02 +00:00
landry
0474d670d8 Instead of letting cmake projects decide what kind of build type they want,
and thus use random build flags (and often override our default CFLAGS)
for consistency enforce CMAKE_BUILD_TYPE:String=Release by default, and
CMAKE_BUILD_TYPE:String=Debug if DEBUG is set.
Provide a MODCMAKE_BUILD_SUFFIX variable added to SUBST_VARS, set to
either -debug.cmake or -release.cmake, will be used in some PLISTs

Went into an amd64 bulk build.
with/ok dcoppa@ sthen@
2014-11-07 10:04:00 +00:00
dcoppa
a1bc299a41 Remove '-O2' as default optimization 2014-11-04 13:50:24 +00:00
dcoppa
7ec769ac18 fix FindLua module; from upstream (Rolf Eike Beer) 2014-10-07 11:12:23 +00:00
dcoppa
285a26d8eb Do not register full paths to shared libraries in the ELF "NEEDED"
sections

tested in a bulk build by landry@

OK landry@, zhuk@
2014-10-03 10:11:45 +00:00
zhuk
e9047f0715 Use ALL_TEST_ENV instead of MAKE_ENV here, too.
Reminded by dcoppa@
2014-10-02 09:40:16 +00:00