Revision
76522
Author
ryandesign@macports.org
Date
2011-02-26 22:05:35 -0800 (Sat, 26 Feb 2011)

Log Message

webp: add debug variant; see #27518

Modified Paths

Diff

Modified: trunk/dports/graphics/webp/Portfile (76521 => 76522)


--- trunk/dports/graphics/webp/Portfile	2011-02-27 05:00:18 UTC (rev 76521)
+++ trunk/dports/graphics/webp/Portfile	2011-02-27 06:05:35 UTC (rev 76522)
@@ -62,3 +62,9 @@
         README \
         ${docdir}
 }
+
+variant debug description {Compile with debugging information and reduce optimization level} {
+    configure.optflags -O1
+    configure.cflags-append -ggdb
+    configure.cxxflags-append -ggdb
+}