Commit Graph

72 Commits

Author SHA1 Message Date
dcoppa
367b2bd1b2 Garbage collect the pthread patching for CMake.
From Brad, thanks.
2012-08-20 08:07:34 +00:00
dcoppa
957583efb2 Fix the old FindLua51 module too. 2012-07-12 16:26:13 +00:00
dcoppa
94b010f930 Finish the work with lua and cmake: it's nicer and more compact now. 2012-07-12 15:36:20 +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
dcoppa
806c7f2749 Fix typo: "_CXX_" -> "_C_"
(upstream git commit b9ccaf5f7977b7444a50a7b1dbb1902422f7ab27)
2012-07-03 07:48:54 +00:00
dcoppa
d595a0834d Fix mandir path when using GNUInstallDirs.cmake: on OpenBSD it's
$prefix/man, not $prefix/share/man. While here, fix infodir too.

Pointed out by sthen@
Ok landry@, sthen@
2012-06-27 19:28:39 +00:00
dcoppa
d013c2ba21 Sync FindIconv, FindLCMS, FindLibintl modules with KDE's upstream git
Add FindLibLZMA module
(upstream git commit ee26019bd433020b8aad3c3a70bcb537e03b04ba)

Bugfix: FindPythonLibs: honor EXACT version specification
(upstream git commit 9d145b0998f21ae6d0571c5b6a7ab0168722df7c)

Bugfix: UseJava: fix find_jar() called with multiple files
(upstream git commit 5593d5718ec90f6a2e37ca4e2fdf3fc4537380ff)
2012-06-15 10:26:56 +00:00
dcoppa
cf153cacfa Fix libpthread linking (use '-pthread' instead of '-lpthread') for
cmake-based ports that use "CHECK_LIBRARY_EXISTS(pthread ...)".

Fix libpthread linking for devel/llvm too (additional care was
needed).

No fallout in a bulk build: thanks landry!
2012-06-14 09:32:00 +00:00
dcoppa
ae2b2f4867 Sync with what bentley@ pushed upstream. 2012-05-15 08:36:28 +00:00
bentley
77cf8307a0 Set wxWidgets_INCLUDE_DIRS_NO_SYSTEM.
This prevents compiler errors with cmake/wxwidgets:
"error: template with C linkage"

See the variable's comments and links in
/usr/local/share/cmake/Modules/FindwxWidgets.cmake for more information.

ok dcoppa@ (MAINTAINER)
2012-05-14 19:24:33 +00:00
dcoppa
7defea07ff try_compile: Cleanup temporary directories
Since commit 4fbdce2b (try_compile: Use random executable file name,
2012-02-13) a different <target>.dir is used for each try-compile.
Cleanup the directories as well as their content to avoid accumulating
leftover temporary directories.
(upstream git commit 953257ca611526c9a161a22e5148802be1c67649)

Remove troublesome "Qt4Deploy" and "CTest.UpdateCVS" tests
(from gentoo's package/dev-util/cmake/files/)

Sync FindPkgConfig.cmake patch with upstream
2012-05-07 13:58:18 +00:00
dcoppa
498b61a3b2 Update to cmake-2.8.8
OK sthen@
2012-05-07 07:06:20 +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
8903ff6939 Some fixes from upstream git:
fixes for Modules/FindRuby.cmake

fix wrong use of IS_ABSOLUTE into Modules/GenerateExportHeader.cmake

fix Source/cmLocalUnixMakefileGenerator3.cxx: exit the loop when
we have determined the language
2012-01-12 13:14:33 +00:00
dcoppa
0b7f7a5fee Update to cmake-2.8.7.
Tested in a bulk build by naddy@
2012-01-07 22:14:51 +00:00
sthen
376b793095 cmake doesn't build following move to gcc4. Mark it as broken so it's not
forgotten as arm packages are not being built at present.
2011-12-05 21:44:02 +00:00
dcoppa
395d06caab FindRuby.cmake: use RbConfig::CONFIG instead of obsolete and
deprecated Config::CONFIG.

pointed out by Amit Kulkarni and jeremy@
2011-12-03 13:38:43 +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
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