Modified: trunk/dports/graphics/libcaca/Portfile (80096 => 80097)
--- trunk/dports/graphics/libcaca/Portfile 2011-07-04 09:18:20 UTC (rev 80096)
+++ trunk/dports/graphics/libcaca/Portfile 2011-07-04 09:22:38 UTC (rev 80097)
@@ -30,7 +30,7 @@
--disable-x11 --enable-ncurses --enable-imlib2 \
--disable-ruby
-variant x11 description {Add X11 driver support} {
+variant x11 {
depends_lib-append port:xorg-libX11
configure.args-delete --disable-x11
configure.args-append --enable-x11 \
@@ -38,11 +38,12 @@
--x-libraries=${prefix}/lib
}
-platform darwin 11 {
- # BUILD FIX TODO:
- # llvm-gcc-4.2 and clang fail to build as of 2011.06.16
- # This looks like an error in the package.
- configure.compiler gcc-4.2
+# BUILD FIX TODO:
+# llvm-gcc-4.2 and clang fail to build as of 2011.06.16
+# This looks like an error in the package.
+if {${configure.compiler} == "llvm-gcc-4.2" ||
+ ${configure.compiler} == "clang"} {
+ configure.compiler gcc-4.2
}
livecheck.type regex