Revision
110327
Author
jeremyhu@macports.org
Date
2013-08-29 17:09:19 -0700 (Thu, 29 Aug 2013)

Log Message

gmic: clang works for me.  Upstream probably fixed it in the past couple years.

Modified Paths

Diff

Modified: trunk/dports/science/gmic/Portfile (110326 => 110327)


--- trunk/dports/science/gmic/Portfile	2013-08-29 23:42:41 UTC (rev 110326)
+++ trunk/dports/science/gmic/Portfile	2013-08-30 00:09:19 UTC (rev 110327)
@@ -48,12 +48,9 @@
                     port:xorg-libXext \
                     port:gimp2
 
-patchfiles          patch-Makefile.diff
+patchfiles          patch-Makefile.diff \
+                    libcxx.patch
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
-
 use_configure       no
 
 # opencv is not universal
@@ -64,7 +61,8 @@
 
 build.args          CC="${configure.cxx} [get_canonical_archflags]" \
                     IS_GCC=yes \
-                    USR=${prefix}
+                    USR=${prefix} \
+                    OPT_CFLAGS=${configure.optflags}
 
 destroot.args       USR=${prefix}