Modified: trunk/dports/science/geos/Portfile (83192 => 83193)
--- trunk/dports/science/geos/Portfile 2011-08-27 17:33:24 UTC (rev 83192)
+++ trunk/dports/science/geos/Portfile 2011-08-27 17:37:53 UTC (rev 83193)
@@ -22,6 +22,15 @@
checksums sha1 f6c6e3398d5c7bf389a0610a0d06896d76ad4480 \
rmd160 724f535739ec88607083b72452481b155297fd2b
+if {${configure.compiler} == "clang" ||
+ ${configure.compiler} == "llvm-gcc-4.2"} {
+ configure.compiler gcc-4.2
+ if {![file executable ${configure.cc}]} {
+ depends_build-append port:apple-gcc42
+ configure.compiler apple-gcc-4.2
+ }
+}
+
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}