Commit Graph

54 Commits

Author SHA1 Message Date
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
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
6fefb66d93 Fix my lameness.
pointed out by espie@
2011-10-08 18:55:36 +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
dcoppa
865b05a343 Remove -O0 workaround for arm. It should be unneeded now that arm
has been switched to gcc4.

OK ajacoutot@, sthen@
2011-07-12 08:35:29 +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
jasper
eeb29b3347 don't use ``rm -f'' for remove unneeded files.
this will remember us, when not needed anymore this treatment.

from gleydson soares
ok aja@
2011-04-14 15:55:19 +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
espie
9139a53b56 newer depends with >= 2010-11-26 07:18:59 +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
espie
5855efb734 move depends to new style 2010-11-15 19:45:56 +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
espie
5c08d95027 USE_GROFF=Yes 2010-10-18 17:47:50 +00:00
dcoppa
b26e4781b1 Remove mips64 from the list of archs that want -O0 to build cmake. This
is not needed anymore since the switch to gcc4.

Tested by jasper@ and phessler@ on loongson and sgi.

OK jasper@, phessler@
2010-09-29 07:33:24 +00:00
sthen
4f956eeba2 - bump REVISION following change for hppa/powerpc to stop forcing -O0
- sort remaining arch

from Brad
2010-09-06 00:16:22 +00:00
landry
9ed1e3a1de Remove hppa and powerpc from the list of archs that needs -O0 to build
cmake. This is apparently not needed anymore since the switch to gcc4.
prodded by brad, tested by myself
2010-09-02 08:06:13 +00:00
sthen
f5a3eaa473 arm needs -O0 2010-08-25 14:29:56 +00:00
jasper
b5adae7a09 - add mips64 to the list of architectures that need -O0 2010-08-23 18:17:30 +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
espie
bd4a069384 consensus seems to be no colors, and verbose... 2010-06-14 12:34:29 +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
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
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
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
ajacoutot
f675f50035 - regen PLIST 2009-03-14 18:59:36 +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
naddy
b5b4c072dd chase wantlib changes introduced by curl update 2007-05-14 20:40:15 +00:00
bernd
ae1bee24e7 Use xenocara expat. 2007-04-28 10:06:24 +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
470294650d base64 distinfo with SHA256 2007-04-05 15:37:40 +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