[63231] trunk/dports/aqua/qtoctave-mac
and.damore at macports.org
and.damore at macports.org
Sat Jan 30 01:48:05 PST 2010
Revision: 63231
http://trac.macports.org/changeset/63231
Author: and.damore at macports.org
Date: 2010-01-30 01:48:02 -0800 (Sat, 30 Jan 2010)
Log Message:
-----------
Patched qtoctave-mac in order to build with qt4 > 4.5, closes #23478
Modified Paths:
--------------
trunk/dports/aqua/qtoctave-mac/Portfile
Added Paths:
-----------
trunk/dports/aqua/qtoctave-mac/files/
trunk/dports/aqua/qtoctave-mac/files/patch-cmake-list.diff
Modified: trunk/dports/aqua/qtoctave-mac/Portfile
===================================================================
--- trunk/dports/aqua/qtoctave-mac/Portfile 2010-01-30 04:55:05 UTC (rev 63230)
+++ trunk/dports/aqua/qtoctave-mac/Portfile 2010-01-30 09:48:02 UTC (rev 63231)
@@ -2,6 +2,7 @@
PortSystem 1.0
name qtoctave-mac
version 0.8.2
+revision 1
categories aqua math
platforms darwin
maintainers and.damore openmaintainer
@@ -10,18 +11,20 @@
primarily intended for numerical computations like Matlab. QtOctave \
tries, using menus and forms, make easy Octave.
-homepage http://qtoctave.wordpress.com
-distname qtoctave-${version}
-master_sites http://forja.rediris.es/frs/download.php/1383/
-depends_lib port:octave \
- path:bin/qmake-mac:qt4-mac
+homepage http://qtoctave.wordpress.com
+distname qtoctave-${version}
+master_sites http://forja.rediris.es/frs/download.php/1383/
+depends_lib port:octave \
+ path:bin/qmake-mac:qt4-mac
-depends_build bin:cmake:cmake
-checksums md5 56d0d7bece168b7df6a6b30d448266f4 \
- sha1 d2aed8be03fb77d0f37cc72b7cd74ff7c73934dd \
- rmd160 18cedfecea53d4c86b46ebc8474a6e2b6ebee313
+depends_build bin:cmake:cmake
+checksums md5 56d0d7bece168b7df6a6b30d448266f4 \
+ sha1 d2aed8be03fb77d0f37cc72b7cd74ff7c73934dd \
+ rmd160 18cedfecea53d4c86b46ebc8474a6e2b6ebee313
-configure.cmd cmake
-configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
+patchfiles patch-cmake-list.diff
+configure.cmd cmake
+configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
configure.args -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
-G \"Unix Makefiles\" .
+
Added: trunk/dports/aqua/qtoctave-mac/files/patch-cmake-list.diff
===================================================================
--- trunk/dports/aqua/qtoctave-mac/files/patch-cmake-list.diff (rev 0)
+++ trunk/dports/aqua/qtoctave-mac/files/patch-cmake-list.diff 2010-01-30 09:48:02 UTC (rev 63231)
@@ -0,0 +1,19 @@
+--- CMakeLists.txt.orig 2009-06-29 17:26:22.000000000 +0200
++++ CMakeLists.txt 2010-01-29 22:48:58.000000000 +0100
+@@ -28,13 +28,13 @@
+
+ include(UseQt4)
+
+-if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 5 )
++if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} GREATER 4 )
+ MESSAGE (FATAL_ERROR
+- "Qt version 4.5 required.\n"
++ "Qt version >= 4.5 required.\n"
+ "Qt version installed is: ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}\n"
+ "Please install required version.\n"
+ )
+-endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 5 )
++endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} GREATER 4 )
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100130/b328bf36/attachment.html>
More information about the macports-changes
mailing list