Commit Graph

33 Commits

Author SHA1 Message Date
dcoppa
57eaee2ae8 Update to cmake-2.8.6
Fixed FindRuby.cmake module (from Vadim Zhukov)

Fixed FindJava.cmake and FindJNI.cmake modules when cmake is used
outside of our ports tree (problem reported and fix tested by
pirofti@)

Still "100% tests passed, 0 tests failed out of 197".

No fallout in a bulk build.

OK jasper@
2011-10-14 17:22:10 +00:00
dcoppa
d89de7a682 Update to cmake-2.8.5
Went in a bulk without issues, ok landry@
2011-09-20 11:32:36 +00:00
sthen
350530262b Switch to simpler Modules/CMakeDetermineSystem.cmake patch now committed
upstream. Suggested by/ok dcoppa@
2011-05-02 15:59:43 +00:00
sthen
49167b523a Set CMAKE_HOST_SYSTEM_PROCESSOR more like people are expecting by
using arch -s instead of uname -p. Tested with all current CMake
users in tree, no change.  ok dcoppa@
2011-04-29 16:50:32 +00:00
sthen
11ebbb999f Don't try to create directories which already exist, this significantly
cleans up the console output if you set USE_SYSTRACE.  ok dcoppa@
2011-04-16 15:18:13 +00:00
dcoppa
4cd9f900fc Update to cmake-2.8.4.
Tested in a bulk build by landry@.
Lot of feedback from various people on ports@: thanks!

OK landry@, sthen@
2011-03-13 18:23:01 +00:00
dcoppa
cc31bf9207 It's better having iconv and intl as QtCore dependencies.
This is my last commit for this, I promise.
2010-11-22 22:27:02 +00:00
dcoppa
6738b0f177 Sync with KDE upstream 2010-11-22 16:26:30 +00:00
dcoppa
8b27d047f3 Just removing that check makes more sense. I'm a moron. 2010-11-19 16:18:12 +00:00
dcoppa
a54b3f6002 Fix a bug that broke $QT_QT*_LIB_DEPENDENCIES since cmake-2.8.2.
Now port-lib-depends-check for geo/qgis is happy.

Problem noticed by, and OK landry@
2010-11-19 11:10:35 +00:00
dcoppa
195d9f90cf Update to cmake-2.8.3
OK sthen@, landry@ (who also tested this in a bulk build)
2010-11-15 11:39:08 +00:00
dcoppa
2c6d0109b6 Zap some unwanted optimization flags ("-O3", "-Os") that were brought
in by cmake when the CMAKE_BUILD_TYPE var is used.

Pointed out by and OK steven@
2010-10-26 18:31:18 +00:00
dcoppa
90d59a716c We overwrite library version numbers using our LIBxxx_VERSION
environment variable, but we want to do it for shared libraries
only. Otherwise a static library gets created as
libfoo.a.${LIBfoo_VERSION}, which is wrong.
Bug reported and patch tested by Alexandr Shadchin <alexandr DOT
shadchin AT gmail DOT com>: thanks!

While here, reword/clarify some comments to better explain what my
patches do.
2010-07-28 20:34:22 +00:00
dcoppa
7283a0afb2 Fix a bug with shared libraries having OUTPUT_NAME in their target
properties.

Update to cmake-2.8.2.

While here, move to new-style LIB_DEPENDS/WANTLIB.

OK espie@, landry@, sthen@
2010-07-12 19:19:30 +00:00
dcoppa
2151e979b2 Set CFLAGS in the ports Makefile instead of using handrolled patches.
Unbreak build on hppa too. From landry@: thanks!

OK landry@
2010-06-11 08:07:17 +00:00
dcoppa
23e0e99b42 Add some bits needed by kde4.
Move the "cleaning commands" from post-build to post-install.
From espie@: thanks!

OK espie@
2010-05-31 06:29:27 +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
dcoppa
49e2a1d89e Fix for Fortran shared libraries that were generated without
versioning.

OK ajacoutot@, landry@
2010-04-22 16:10:11 +00:00
dcoppa
64ab3526bf Avoid creating .so symlinks for shared libraries, as they break
OpenBSD porting standards.

OK landry@, sthen@
"if it works and other people like it, go ahead" espie@
2010-04-15 20:30:47 +00:00
landry
2dc0befd53 Force the use of -pthread in FindThreads.cmake module. It was looking
for -lpthread first.
No fallouts in a bulk build done by jasper@, thanks!
ok jasper@
2009-09-10 13:54:47 +00:00
espie
5155b8d081 deal with qt4 issues here, instead of in kde. 2008-02-04 22:31:20 +00:00
espie
41cf57d3f6 minor update to 2.4.8 (all tests pass now) 2008-01-26 21:26:32 +00:00
espie
34826115a4 minor update cmake 2.4.7 2007-08-25 08:35:20 +00:00
ajacoutot
b53948be18 - when cmake uses gcc to build things, make it correctly grab CFLAGS and
CXXFLAGS variables and don't force compiler optimizations

ok espie@
2007-06-18 11:52:26 +00:00
espie
12c720e6cc only call mkdir on !empty stuff that does not exist.
removes systrace warnings. reported by ajacoutout.
2007-06-16 13:01:37 +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
3782e1cd3d list -pthread as a dependency of qt4core, so that stuff will link in a simpler
way.
2007-04-25 14:56:13 +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
665a689517 fix openbsd lib detection, don't break out of the loop (I'm stupid).
let cmake detect most recent library, as it should
2007-03-23 16:30:35 +00:00
espie
8063f8ee22 find qmake4, not qmake...
regen other patches with new diff.
2007-03-20 11:23:10 +00:00
espie
58e493f790 update to cmake 2.4.5, quite a few patches vanish since cmake can now
build stuff with system libraries, so we no longer have to repair
curl/zlib... just xmlrpc which cmake can't find without help.
2006-12-18 16:04:31 +00:00
espie
b4086e8b3e update to 2.4.3 2006-07-31 23:55:51 +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