151 Commits

Author SHA1 Message Date
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
zhuk
7bfab27ae7 Start using ALL_TEST_ENV for CMake-based ports.
No real change for now since ALL_TEST_ENV=MAKE_ENV+TEST_ENV.

okay dcoppa@
2014-10-02 09:38:04 +00:00
dcoppa
2449746685 Use ${VER:R} instead of hardcoding the major version into MASTER_SITES 2014-10-01 08:42:32 +00:00
dcoppa
acaefb2ea3 Add missing bits of sthen's commit to disable ninja on m88k 2014-09-30 15:02:32 +00:00
dcoppa
490493c758 Simplify patch
Thanks to to Rolf Eike Beer for this too
2014-09-30 14:24:31 +00:00
dcoppa
1c1430857b committed upstream 2014-09-30 07:14:49 +00:00
dcoppa
e2d4083076 Shrug. Fix typo 2014-09-29 08:45:35 +00:00
dcoppa
d2034e3daa Merge OpenBSD-related fixes from upstream git
kudos to Rolf Eike Beer
2014-09-29 08:25:39 +00:00
dcoppa
98635e18ec Better safe than sorry
(adapted from upstream)
2014-09-28 18:15:40 +00:00
dcoppa
82ab6b97d7 Temporary workaround for a sporadic segfault which seems to result
from memory corruption. To be removed when CMake 3.1 will be released.
2014-09-28 17:06:24 +00:00
sthen
581969111f devel/ninja is knocked out on m88k; disable its use with cmake (as already
done with arm)
2014-09-17 11:57:17 +00:00
dcoppa
b47a9009fb Bugfixing update to cmake-3.0.2
Use Ninja-1.5's console pool to have visible output during long-running
tasks which produce status updates on the console (such as test suites)
2014-09-12 08:36:12 +00:00
dcoppa
3a81dce7db cleanup comments; zap a couple of now meaningless comments related
to java 1.6
2014-09-11 14:45:12 +00:00
dcoppa
4508f94c80 Update to cmake-3.0.1
Tested in a bulk build by landry@
OK landry@
2014-09-11 10:24:38 +00:00
zhuk
d5512af05c Sync FindBacktrace.cmake with what's been committed upstream and what's the
Clementine actually waits for.

Pointed out, initially patched and tested by sthen@, thanks!
2014-06-25 00:29:45 +00:00
brad
cdf02cd267 Bump the BUILD_DEPENDS for the CMake release to the latest release
as even an older minor release could result in a test failing.

ok dcoppa@
2014-05-20 16:23:30 +00:00
dcoppa
03cd5905d0 Fix uninitialized variable 2014-05-13 05:55:30 +00:00
dcoppa
c7e4fe7084 kurt@ forgot Modules/FindJava.cmake in his commit (and, while here,
fix style).
2014-05-12 14:47:49 +00:00
kurt
46f312eaef - Unlink jdk/1.6 and make jdk/1.7 the default jdk for all java ports
- Adjust java.port.mk and cmake to use 1.7
- Adjust jdk/1.7 for pkg_add upgrades
okay sthen@, jasper@, ajacoutot@
2014-05-07 15:42:15 +00:00
dcoppa
bf77fb8bb3 FindPython{Interp,Libs}: Search for Python 3.4
(upstream git commit ab6201ab647c13fee44c44822b8502e9848faaaf)
2014-04-14 14:02:44 +00:00
dcoppa
a05b5e7915 Maintenance update to cmake-2.8.12.2 2014-03-12 08:32:13 +00:00
dcoppa
0e646776af Teach FindRuby.cmake about the recently imported Ruby 2.1
ok zhuk@
2014-01-15 19:54:37 +00:00
dcoppa
f89f6198f8 Fixes for Freetype 2.5.x
Upstream git commits:
http://cmake.org/gitweb?p=cmake.git;a=commit;h=7435ae7c97590a0713d86b63add761d5e1607ec1
http://cmake.org/gitweb?p=cmake.git;a=commit;h=bc49d820a276243324003bc34d92a69194938adf
http://cmake.org/gitweb?p=cmake.git;a=commit;h=9b08e3f5993eb004e3eb0d9ae8b593f553989f89

OK naddy@
2014-01-10 08:21:12 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
dcoppa
5ff455237f Bugfix update to cmake-2.8.12.1 2013-11-11 07:23:32 +00:00
zhuk
db08565fde Improve FindRuby.cmake and add support for Ruby 2.0.
input from and okay dcoppa@
2013-10-14 13:02:51 +00:00
dcoppa
15f66503d9 Update to cmake-2.8.12.
Tested in a bulk build by the usual suspects, Thanks!

ok espie@, kili@
ok zhuk@ for kde4
2013-10-14 12:58:02 +00:00
dcoppa
e65b5fe01b FindTCL: Add OpenBSD paths for Tcl/Tk 8.6 2013-09-30 11:18:09 +00:00
dcoppa
3bdc002930 CMake's built-in ELF parser is broken on arm:
> #0  cmELF (this=0xbfff4674, fname=0x4337438c "/usr/lib/libz.so.4.1")
>     at basic_ios.h:124
> 124           { return _M_streambuf_state; }

Since this is a requirement for Ninja, disable both of
them if ${MACHINE_ARCH} == "arm".

As a workaround, ok sthen@
2013-08-22 09:53:20 +00:00
dcoppa
fa136a3250 Move rm commands back to where they were before (post-install) 2013-08-20 14:22:58 +00:00
dcoppa
55806b324e Missed in previous commit.
okay zhuk@
2013-08-16 10:37:22 +00:00