[96473] trunk/dports/graphics/Coin

jmr at macports.org jmr at macports.org
Fri Aug 10 16:52:45 PDT 2012


Revision: 96473
          https://trac.macports.org/changeset/96473
Author:   jmr at macports.org
Date:     2012-08-10 16:52:44 -0700 (Fri, 10 Aug 2012)
Log Message:
-----------
Coin: fix configure check for compiler supporting -fno-for-scope (#34059)

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

Added Paths:
-----------
    trunk/dports/graphics/Coin/files/
    trunk/dports/graphics/Coin/files/configure.patch

Modified: trunk/dports/graphics/Coin/Portfile
===================================================================
--- trunk/dports/graphics/Coin/Portfile	2012-08-10 23:29:49 UTC (rev 96472)
+++ trunk/dports/graphics/Coin/Portfile	2012-08-10 23:52:44 UTC (rev 96473)
@@ -27,9 +27,7 @@
 			port:xorg-libXext \
 			port:xorg-libXt
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
+patchfiles	configure.patch
 
 configure.args		--with-simage=${prefix} --mandir=${prefix}/share/man
 

Added: trunk/dports/graphics/Coin/files/configure.patch
===================================================================
--- trunk/dports/graphics/Coin/files/configure.patch	                        (rev 0)
+++ trunk/dports/graphics/Coin/files/configure.patch	2012-08-10 23:52:44 UTC (rev 96473)
@@ -0,0 +1,17 @@
+--- configure.orig	2010-03-03 00:20:09.000000000 +1100
++++ configure	2012-08-11 09:49:41.000000000 +1000
+@@ -25277,11 +25277,11 @@
+ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -fno-for-scoping" >&5
+-$as_echo_n "checking whether $CXX accepts -fno-for-scoping... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -fno-for-scope" >&5
++$as_echo_n "checking whether $CXX accepts -fno-for-scope... " >&6; }
+ 
+ sim_ac_save_cppflags=$CPPFLAGS
+-CPPFLAGS="$CPPFLAGS -fno-for-scoping"
++CPPFLAGS="$CPPFLAGS -fno-for-scope"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120810/b576c3b7/attachment-0001.html>


More information about the macports-changes mailing list