[80979] trunk/dports/graphics/GraphicsMagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jul 22 15:17:05 PDT 2011


Revision: 80979
          http://trac.macports.org/changeset/80979
Author:   ryandesign at macports.org
Date:     2011-07-22 15:17:04 -0700 (Fri, 22 Jul 2011)
Log Message:
-----------
GraphicsMagick: use clang instead of llvm-gcc-4.2; see #30049

Modified Paths:
--------------
    trunk/dports/graphics/GraphicsMagick/Portfile

Modified: trunk/dports/graphics/GraphicsMagick/Portfile
===================================================================
--- trunk/dports/graphics/GraphicsMagick/Portfile	2011-07-22 22:10:27 UTC (rev 80978)
+++ trunk/dports/graphics/GraphicsMagick/Portfile	2011-07-22 22:17:04 UTC (rev 80979)
@@ -52,8 +52,10 @@
 
 use_bzip2               yes
 
-# Undefined symbols for architecture x86_64: ___builtin_object_size
-configure.cflags-append -D_FORTIFY_SOURCE=0
+# llvm-gcc-4.2 gives "Undefined symbols for architecture x86_64: ___builtin_object_size"
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler clang
+}
 
 configure.args          --with-jbig=no \
                         --with-wmf=no \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110722/0bec078c/attachment.html>


More information about the macports-changes mailing list