42 Commits

Author SHA1 Message Date
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
espie
5855efb734 move depends to new style 2010-11-15 19:45:56 +00:00
espie
bd4a069384 consensus seems to be no colors, and verbose... 2010-06-14 12:34:29 +00:00
edd
48149ce181 force use of new cmake as people who have not upgraded will hit problems with,
for example x11/awesome.

OK sthen@, dcoppa@
2010-06-07 20:33:20 +00:00
dcoppa
8b1b17cff8 Update to cmake 2.8.1 (I also take maintainership).
"This is good, commit." espie@
2010-05-28 20:21:48 +00:00
ajacoutot
e1e1d6724a Add a new variable MODCMAKE_VERBOSE which is on by default when !BATCH,
to enable cmake VERBOSE mode and see the build output.

ok sthen@
2009-06-04 21:07:23 +00:00
espie
e640d83dda allow cmake to proceed in color unless you `explicitly' ask it otherwise
(setting BATCH, for instance).

Synch FindQt4 with some of qt 4.3.0 stuff. Need to be fully synched with
qt 4.3.0 anyways...
2007-06-09 09:09:44 +00:00
espie
eab92da0b6 fix shared library numbers for OpenBSD. Patch may still change, but it
appears to work fine w/ kde4.

cmake will still generate a libfoo.so (which is useful as a placeholder to
know the lib has been built, since other directories don't have access to
the version number), but it obeys OpenBSD conventions for the actual library
now.

ld does the right thing, namely it ignores the libfoo.so and links against
libfoo.so.5.0 properly.

Also take environment into account to allow the ports tree to override
version numbers.

Todo: logfile of built libraries.
2007-03-26 21:27:44 +00:00
espie
9d34b21437 cmake, a `new' build system. Used by KDE4.
Easier to work with than autoconf/automake/libtool.
2006-07-20 09:23:13 +00:00