112 Commits

Author SHA1 Message Date
dcoppa
a05b5e7915 Maintenance update to cmake-2.8.12.2 2014-03-12 08:32:13 +00:00
dcoppa
0e646776af Teach FindRuby.cmake about the recently imported Ruby 2.1
ok zhuk@
2014-01-15 19:54:37 +00:00
dcoppa
f89f6198f8 Fixes for Freetype 2.5.x
Upstream git commits:
http://cmake.org/gitweb?p=cmake.git;a=commit;h=7435ae7c97590a0713d86b63add761d5e1607ec1
http://cmake.org/gitweb?p=cmake.git;a=commit;h=bc49d820a276243324003bc34d92a69194938adf
http://cmake.org/gitweb?p=cmake.git;a=commit;h=9b08e3f5993eb004e3eb0d9ae8b593f553989f89

OK naddy@
2014-01-10 08:21:12 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
dcoppa
5ff455237f Bugfix update to cmake-2.8.12.1 2013-11-11 07:23:32 +00:00
zhuk
db08565fde Improve FindRuby.cmake and add support for Ruby 2.0.
input from and okay dcoppa@
2013-10-14 13:02:51 +00:00
dcoppa
15f66503d9 Update to cmake-2.8.12.
Tested in a bulk build by the usual suspects, Thanks!

ok espie@, kili@
ok zhuk@ for kde4
2013-10-14 12:58:02 +00:00
dcoppa
e65b5fe01b FindTCL: Add OpenBSD paths for Tcl/Tk 8.6 2013-09-30 11:18:09 +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
fa136a3250 Move rm commands back to where they were before (post-install) 2013-08-20 14:22:58 +00:00
dcoppa
55806b324e Missed in previous commit.
okay zhuk@
2013-08-16 10:37:22 +00:00
zhuk
4de8936a6a Unbreak (bulk) builds of Java-based apps using CMake: we force using JDK 1.6
to build MODJAVA_VER=1.6+ ports, and CMake should do the same. Otherwise we
could, e.g., pick up co-installed JDK 1.7, start build using it, and while
build process goes, JDK 1.7 may disappear...

Discovered while working on OpenCV 2.4, which contains Java bindings.

okay dcoppa@
2013-08-12 16:09:50 +00:00
dcoppa
cc7334dbdf Maintenance update to cmake-2.8.11.2 2013-07-04 16:34:05 +00:00
dcoppa
2e1751cd73 Switch CMake to use ninja to build itself.
OK espie@; makes sense to sthen@
2013-06-28 14:58:23 +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
aef0e24117 Enable ELF parsing and editing support on OpenBSD.
Ninja will use it.

OK espie@
2013-06-25 07:16:46 +00:00
dcoppa
94327b4bf8 Bugfix update to cmake-2.8.11.1
See: http://public.kitware.com/Bug/changelog_page.php?version_id=113

OK jasper@, sthen@
2013-06-21 11:12:51 +00:00
dcoppa
93f64326b5 whitespace; no package changes 2013-06-07 13:26:27 +00:00
dcoppa
c5fccc6e51 Update to cmake-2.8.11.
Tested in a bulk build by landry@
Tested with KDE4 by zhuk@
OK zhuk@
2013-06-06 12:47:06 +00:00
dcoppa
d3c9deb6f1 Simplification
Minor fixes and cleanups
Put stuff where it belongs
Zap some useless patches

(in preparation for cmake-2.8.11)
2013-05-30 08:34:32 +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
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