[97915] trunk/dports/math
adfernandes at macports.org
adfernandes at macports.org
Wed Sep 19 15:45:03 PDT 2012
Revision: 97915
http://trac.macports.org//changeset/97915
Author: adfernandes at macports.org
Date: 2012-09-19 15:45:02 -0700 (Wed, 19 Sep 2012)
Log Message:
-----------
eigen3/R/R-framework: add gcc47 variants
Modified Paths:
--------------
trunk/dports/math/R/Portfile
trunk/dports/math/R-framework/Portfile
trunk/dports/math/eigen3/Portfile
Modified: trunk/dports/math/R/Portfile
===================================================================
--- trunk/dports/math/R/Portfile 2012-09-19 17:45:18 UTC (rev 97914)
+++ trunk/dports/math/R/Portfile 2012-09-19 22:45:02 UTC (rev 97915)
@@ -54,26 +54,31 @@
configure.args-append --with-recommended-packages
}
-variant gcc43 conflicts gcc44 gcc45 gcc46 description {Build with gcc43} {
+variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Build with gcc43} {
configure.compiler macports-gcc-4.3
depends_lib-append port:gcc43
}
-variant gcc44 conflicts gcc43 gcc45 gcc46 description {Build with gcc44} {
+variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Build with gcc44} {
configure.compiler macports-gcc-4.4
depends_lib-append port:gcc44
}
-variant gcc45 conflicts gcc43 gcc44 gcc46 description {Build with gcc45} {
+variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Build with gcc45} {
configure.compiler macports-gcc-4.5
depends_lib-append port:gcc45
}
-variant gcc46 conflicts gcc43 gcc44 gcc45 description {Build with gcc46} {
+variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Build with gcc46} {
configure.compiler macports-gcc-4.6
depends_lib-append port:gcc46
}
+variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Build with gcc46} {
+ configure.compiler macports-gcc-4.7
+ depends_lib-append port:gcc47
+}
+
variant debug description {Build with debug symbols} {
configure.optflags-append -g
}
Modified: trunk/dports/math/R-framework/Portfile
===================================================================
--- trunk/dports/math/R-framework/Portfile 2012-09-19 17:45:18 UTC (rev 97914)
+++ trunk/dports/math/R-framework/Portfile 2012-09-19 22:45:02 UTC (rev 97915)
@@ -84,25 +84,32 @@
configure.args-append --with-cairo
}
-variant debug description {Build with debug symbols} {
- configure.optflags-append -g
+variant debug description {Build with debug symbols} {
+ configure.optflags-append -g
}
-variant gcc45 conflicts gcc46 llvm_gcc42 description {build with gcc45} {
+variant gcc45 conflicts gcc46 gcc47 llvm_gcc42 description {build with gcc45} {
depends_lib-append port:gcc45
configure.compiler macports-gcc-4.5
configure.objc /usr/bin/gcc
configure.env-append "OBJCXX=${configure.objc}"
}
-variant gcc46 conflicts gcc45 llvm_gcc42 description {build with gcc46} {
+variant gcc46 conflicts gcc45 gcc47 llvm_gcc42 description {build with gcc46} {
depends_lib-append port:gcc46
configure.compiler macports-gcc-4.6
configure.objc /usr/bin/gcc
configure.env-append "OBJCXX=${configure.objc}"
}
-variant llvm_gcc42 conflicts gcc45 gcc46 description {build with llvm-gcc42} {
+variant gcc47 conflicts gcc45 gcc46 llvm_gcc42 description {build with gcc47} {
+ depends_lib-append port:gcc47
+ configure.compiler macports-gcc-4.7
+ configure.objc /usr/bin/gcc
+ configure.env-append "OBJCXX=${configure.objc}"
+}
+
+variant llvm_gcc42 conflicts gcc45 gcc46 gcc47 description {build with llvm-gcc42} {
depends_lib-append port:llvm-gcc42
configure.compiler macports-llvm-gcc-4.2
configure.ldflags-append -L${prefix}/lib/llvm-gcc42 -lgfortran
Modified: trunk/dports/math/eigen3/Portfile
===================================================================
--- trunk/dports/math/eigen3/Portfile 2012-09-19 17:45:18 UTC (rev 97914)
+++ trunk/dports/math/eigen3/Portfile 2012-09-19 22:45:02 UTC (rev 97915)
@@ -1,4 +1,4 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -38,23 +38,29 @@
# Variants
variant gcc44 description {Use MacPorts' gcc44 compilers} \
- conflicts gcc45 gcc46 {
+ conflicts gcc45 gcc46 gcc47 {
depends_build-append port:gcc44
configure.compiler macports-gcc-4.4
}
variant gcc45 description {Use MacPorts' gcc45 compilers} \
- conflicts gcc44 gcc46 {
+ conflicts gcc44 gcc46 gcc47 {
depends_build-append port:gcc45
configure.compiler macports-gcc-4.5
}
variant gcc46 description {Use MacPorts' gcc46 compilers} \
- conflicts gcc44 gcc45 {
+ conflicts gcc44 gcc45 gcc47 {
depends_build-append port:gcc46
configure.compiler macports-gcc-4.6
}
+variant gcc47 description {Use MacPorts' gcc47 compilers} \
+ conflicts gcc44 gcc45 gcc46 {
+ depends_build-append port:gcc47
+ configure.compiler macports-gcc-4.7
+}
+
variant doc \
description {Place local documentation into <prefix>/share/doc/eigen3/html} \
requires cmake {
@@ -65,8 +71,8 @@
variant blas description \
{Build eigen-based blas (libeigen_blas*) : needs +gcc4*} \
requires cmake {
- if {![variant_isset gcc44] &&
- ![variant_isset gcc45] &&
+ if {![variant_isset gcc44] &&
+ ![variant_isset gcc45] &&
![variant_isset gcc46]} {
ui_error "eigen3: To use +blas please select +gcc44, +gcc45, or +gcc46!!!"
return -code error
@@ -96,7 +102,7 @@
-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
-DCMAKE_MODULE_PATH=${cmake_share_module_dir} \
-Wno-dev
-
+
# Out of source build
configure.args-append ../eigen_src
@@ -160,7 +166,7 @@
set docdir ${destroot}${sfx}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${workpath}/eigen_src COPYING.GPL COPYING.LGPL ${docdir}
-
+
# Install documentation if requested
if {[variant_isset doc]} {
if {[string equal ${sfx} [lindex ${build_suffix} 0]]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120919/ded569f5/attachment.html>
More information about the macports-changes
mailing list