Revision
70226
Author
mmoll@macports.org
Date
2010-08-02 14:03:24 -0700 (Mon, 02 Aug 2010)

Log Message

Port math/petsc: add debug variant

Modified Paths

Diff

Modified: trunk/dports/math/petsc/Portfile (70225 => 70226)


--- trunk/dports/math/petsc/Portfile	2010-08-02 20:19:27 UTC (rev 70225)
+++ trunk/dports/math/petsc/Portfile	2010-08-02 21:03:24 UTC (rev 70226)
@@ -58,6 +58,11 @@
     depends_lib-append	port:triangle
 }
 
+variant debug description {build with debug support} {
+    configure.args-delete   --with-debugging=0
+    configure.args-append   --with-debugging=1
+}
+
 post-activate {
     ui_msg "******************************************************"
     ui_msg "* Add the following line to your .bash_profile if you "