Add darwin 7 variant to disable optimization (lets clamav build there)
--- 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