[57041] trunk/dports/devel/cmake

css at macports.org css at macports.org
Sat Sep 5 06:17:18 PDT 2009


Revision: 57041
          http://trac.macports.org/changeset/57041
Author:   css at macports.org
Date:     2009-09-05 06:17:14 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
Patch CMake to search for frameworks within ${prefix} (refs #20244). Also declared dependencies on libidn and openssl (refs #20532).

Modified Paths:
--------------
    trunk/dports/devel/cmake/Portfile

Added Paths:
-----------
    trunk/dports/devel/cmake/files/
    trunk/dports/devel/cmake/files/patch-CMakeFindFrameworks.cmake.diff

Modified: trunk/dports/devel/cmake/Portfile
===================================================================
--- trunk/dports/devel/cmake/Portfile	2009-09-05 13:07:19 UTC (rev 57040)
+++ trunk/dports/devel/cmake/Portfile	2009-09-05 13:17:14 UTC (rev 57041)
@@ -4,6 +4,7 @@
 
 name		cmake
 version		2.6.4
+revision	1
 categories	devel
 maintainers	css
 description	Cross-platform make
@@ -19,7 +20,14 @@
 		sha1 c7e295683e061c2ed19773a1f0444972f75db092 \
 		rmd160 e4217067537f76e52317514cb5bb0cf38733d16a
 
+depends_build	port:libidn \
+		port:openssl
+
 configure.args	--mandir=/share/man --docdir=/share/doc/cmake
+patchfiles	patch-CMakeFindFrameworks.cmake.diff
+post-patch {
+	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake
+}
 
 post-destroot {
 	xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp

Added: trunk/dports/devel/cmake/files/patch-CMakeFindFrameworks.cmake.diff
===================================================================
--- trunk/dports/devel/cmake/files/patch-CMakeFindFrameworks.cmake.diff	                        (rev 0)
+++ trunk/dports/devel/cmake/files/patch-CMakeFindFrameworks.cmake.diff	2009-09-05 13:17:14 UTC (rev 57041)
@@ -0,0 +1,10 @@
+--- Modules/CMakeFindFrameworks.cmake.orig	2009-07-09 10:35:26.000000000 -0500
++++ Modules/CMakeFindFrameworks.cmake	2009-07-09 10:36:04.000000000 -0500
+@@ -7,6 +7,7 @@
+     IF(APPLE)
+       FOREACH(dir
+           ~/Library/Frameworks/${fwk}.framework
++          __PREFIX__/Library/Frameworks/${fwk}.framework
+           /Library/Frameworks/${fwk}.framework
+           /System/Library/Frameworks/${fwk}.framework
+           /Network/Library/Frameworks/${fwk}.framework)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090905/b2d19fa4/attachment-0001.html>


More information about the macports-changes mailing list