[rkward-cvs] SF.net SVN: rkward-code:[4664] trunk/rkward/macports/kde
m-eik at users.sf.net
m-eik at users.sf.net
Thu Apr 4 16:03:57 UTC 2013
Revision: 4664
http://sourceforge.net/p/rkward/code/4664
Author: m-eik
Date: 2013-04-04 16:03:57 +0000 (Thu, 04 Apr 2013)
Log Message:
-----------
MacPorts: adding debug variants to both rkward and rkward-devel
Modified Paths:
--------------
trunk/rkward/macports/kde/rkward/Portfile
trunk/rkward/macports/kde/rkward-devel/Portfile
Modified: trunk/rkward/macports/kde/rkward/Portfile
===================================================================
--- trunk/rkward/macports/kde/rkward/Portfile 2013-04-04 15:38:20 UTC (rev 4663)
+++ trunk/rkward/macports/kde/rkward/Portfile 2013-04-04 16:03:57 UTC (rev 4664)
@@ -38,7 +38,6 @@
}
if {${configure.compiler} == "clang"} {
-# configure.compiler llvm-gcc-4.2
# force the use of gcc 4.7 to be able to link with R-framework
depends_lib-append port:gcc47
configure.compiler macports-gcc-4.7
@@ -67,6 +66,11 @@
configure.args-append -DUSE_BINARY_PACKAGES=1
}
+variant debug description {Compile with full debugging support} {
+ depends_lib-append port:valgrind
+ configure.args-append -DCMAKE_BUILD_TYPE=debugfull
+}
+
build.dir ${worksrcdir}/build
pre-pkg {
Modified: trunk/rkward/macports/kde/rkward-devel/Portfile
===================================================================
--- trunk/rkward/macports/kde/rkward-devel/Portfile 2013-04-04 15:38:20 UTC (rev 4663)
+++ trunk/rkward/macports/kde/rkward-devel/Portfile 2013-04-04 16:03:57 UTC (rev 4664)
@@ -39,7 +39,6 @@
}
if {${configure.compiler} == "clang"} {
-# configure.compiler llvm-gcc-4.2
# force the use of gcc 4.7 to be able to link with R-framework
depends_lib-append port:gcc47
configure.compiler macports-gcc-4.7
@@ -68,6 +67,11 @@
configure.args-append -DUSE_BINARY_PACKAGES=1
}
+variant debug description {Compile with full debugging support} {
+ depends_lib-append port:valgrind
+ configure.args-append -DCMAKE_BUILD_TYPE=debugfull
+}
+
build.dir ${worksrcdir}/build
pre-pkg {
More information about the rkward-tracker
mailing list