90 Commits

Author SHA1 Message Date
zhuk
a575bb848f Add support for rubyarchhdrdir and rubyarchlibdir, with fallback to "defaults"
on systems that have such directories but RbConfig doesn't have such options.

Needed for some minor KDE SC parts.

ok dcoppa@
2013-04-22 13:13:56 +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
sthen
21dcdad850 Replace BROKEN-arm with arch-conditional "CFLAGS += -O1 -fno-stack-protector".
Big thanks to miod@ for tracking down the area in which the problem lies
and suggesting this workaround.

Unbreaks a big chunk of the ports tree on arm.
2013-04-12 17:39:57 +00:00
zhuk
5ac8edf9ed Add hand-written FindBacktrace.cmake, a helper to find our libexecinfo and
other backtrace() implementation sources.

okayed by dcoppa@ before lock
2013-03-21 10:21:49 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
dcoppa
ec9f3212ec Fix a couple of crashers, from upstream:
Bugfix: don't crash when a target is expected but is not available
(upstream git commit e767ffcda58ab73cf2c4394202eec7ae1f6035b5)

Bugfix: don't crash if the link.txt file contains empty lines
(upstream git commit 8ff1d4714fb7cd42eb3cd8db041b529e433eb7c8)
2013-01-18 22:17:06 +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
d16c6eb57e Do not pick up gmake first if installed (even without 'USE_GMAKE=Yes')
Add '--parallel=${MAKE_JOBS}' to CONFIGURE_ARGS

Add '--verbose' to CONFIGURE_ARGS

Remove USE_GROFF
2013-01-02 08:59:59 +00:00
dcoppa
f369162f0b Add DPB_PROPERTIES=parallel
Test/OK sthen@
2012-12-11 11:51:39 +00:00
dcoppa
a4eecf1e1c Sync with upstream.
Thanks Amit Kulkarni and brad.king@kitware.com
2012-12-06 15:11:07 +00:00
dcoppa
3f852fbc8f Bugfix update to cmake-2.8.10.2.
Sync patches with what has been committed upstream (kudos to Amit)
2012-12-05 11:32:04 +00:00
dcoppa
9213ddc2b4 Sync with upstream
(http://cmake.org/gitweb?p=cmake.git;a=commit;h=94f37851ef5c6dccbe2dd647a3b38e3196393298)
2012-11-26 12:32:29 +00:00
dcoppa
9e78ddaf2d Append "/usr/X11R6/include" to ${QT_INCLUDES} to unbreak the build
in some circumstances (i.e. QtOpenGL not finding GL/gl.h)
2012-11-22 13:21:49 +00:00
dcoppa
ca0eb5212e Fix string literal typo (from upstream) 2012-11-15 12:29:07 +00:00
dcoppa
a056eca19b Update to cmake-2.8.10.1 (plus some fixes)
Thanks Vadim, landry@

OK landry@
2012-11-15 08:43:25 +00:00
dcoppa
c079d1f2bf Update to cmake-2.8.10.
Successfully gone through a bulk build.

Feedback landry@, Vadim Zhukov, Amit Kulkarni
Bulk build and OK landry@
2012-11-11 17:13:31 +00:00
dcoppa
8db1eb592e CMake now creates shared libraries without soname.
Tested in a bulk build by landry@
Feedback by nigel@ and landry@
OK landry@
2012-10-08 07:23:09 +00:00
dcoppa
d475b0a293 Update to cmake-2.8.9.
"There was no cmake fallout in the bulk on amd64" jasper@
Also tested by Brad with a handful of CMake using ports
2012-08-31 12:28:31 +00:00
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