Revision
32343
Author
dluke@macports.org
Date
2007-12-26 08:59:24 -0800 (Wed, 26 Dec 2007)

Log Message

Add darwin 7 variant to disable optimization (lets clamav build there)

Modified Paths

Diff

Modified: trunk/dports/sysutils/clamav/Portfile (32342 => 32343)


--- trunk/dports/sysutils/clamav/Portfile	2007-12-26 15:58:02 UTC (rev 32342)
+++ trunk/dports/sysutils/clamav/Portfile	2007-12-26 16:59:24 UTC (rev 32343)
@@ -42,6 +42,11 @@
 			configure.cflags {-O0}
 			}
 
+platform darwin 7 {
+			#The gcc on 10.3.9 doesn't like the above cflags either
+			configure.cflags {-O0}
+			} 
+
 post-destroot {
 			system "cd '${destroot}${prefix}/etc/'
 			mv freshclam.conf example-freshclam.conf