58 Commits

Author SHA1 Message Date
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
dcoppa
4150790c68 sync 2016-03-24 13:22:21 +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
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
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
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
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
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
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
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
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
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
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
4508f94c80 Update to cmake-3.0.1
Tested in a bulk build by landry@
OK landry@
2014-09-11 10:24:38 +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
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
d056bae85f Tighten up build depends to ensure cmake will have ELF parsing
support enabled: this is a requirement for Ninja.

ok espie@
2013-06-25 08:34:10 +00:00
espie
083431d788 switch to the ninja generator, unless USE_NINJA=No
Thx to dcoppa@, only nvi and plplot are stuck with the old generator.
okay dcoppa@
2013-06-25 07:54:26 +00:00
dcoppa
35dcd7ca8d Fix for the problem sthen@ reported some time ago: if a library is
not listed in SHARED_LIBS, it will be created with no version suffix.

It was a regression caused by my "build shared libraries without
soname" work, sorry.
2013-05-13 15:02:26 +00:00
sthen
3955fa0372 add an XXX comment because I don't have time to look now, but don't want
to forget: if a library is not listed in SHARED_LIBS, with the cmake module
it will be created with *no* version suffix. (i.e. .so not .so.0.0)
2013-04-18 22:54:50 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
espie
1d27848ff3 use new dpb annotation to work around bug in dependency scanners.
as discussed with dcoppa@, sthen@
2013-01-03 15:48:42 +00:00
dcoppa
1bd29a42b0 Add another couple of variables from lua.port.mk to ease future
work.
2012-07-10 18:55:58 +00:00
jasper
d81eaeb0d8 fixes for lua
from dcoppa@
2012-07-10 15:20:24 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
dcoppa
48a2c54d90 SEPARATE_BUILD by default for CMake
from Vadim Zhukov

OK jasper@, espie@
2011-11-08 09:30:52 +00:00
dcoppa
36a9f53d8d Set CMAKE_SKIP_INSTALL_ALL_DEPENDENCY to true into cmake.port.mk.
This will tell CMake to skip rescanning the whole directory in the fake
stage: our ports infrastructure already takes care that fake happens
only after build.

From Vadim Zhukov

Tested in a bulk build and ok, jasper@
2011-11-01 11:10:33 +00:00
espie
9139a53b56 newer depends with >= 2010-11-26 07:18:59 +00:00