[95242] trunk/dports/textproc/lilypond

jmr at macports.org jmr at macports.org
Sat Jul 7 09:01:08 PDT 2012


Revision: 95242
          https://trac.macports.org/changeset/95242
Author:   jmr at macports.org
Date:     2012-07-07 09:01:06 -0700 (Sat, 07 Jul 2012)
Log Message:
-----------
lilypond: disable gcc version check when using clang (#32647)

Modified Paths:
--------------
    trunk/dports/textproc/lilypond/Portfile

Added Paths:
-----------
    trunk/dports/textproc/lilypond/files/configure-remove-gcc-version-check.diff

Modified: trunk/dports/textproc/lilypond/Portfile
===================================================================
--- trunk/dports/textproc/lilypond/Portfile	2012-07-07 15:21:24 UTC (rev 95241)
+++ trunk/dports/textproc/lilypond/Portfile	2012-07-07 16:01:06 UTC (rev 95242)
@@ -63,8 +63,9 @@
     }
 }
 
+# https://trac.macports.org/ticket/32647
 if {${configure.compiler} == "clang"} {
-    configure.compiler  llvm-gcc-4.2
+    patchfiles-append configure-remove-gcc-version-check.diff
 }
 
 configure.args  --with-ncsb-dir=${prefix}/share/fonts/urw-fonts \

Added: trunk/dports/textproc/lilypond/files/configure-remove-gcc-version-check.diff
===================================================================
--- trunk/dports/textproc/lilypond/files/configure-remove-gcc-version-check.diff	                        (rev 0)
+++ trunk/dports/textproc/lilypond/files/configure-remove-gcc-version-check.diff	2012-07-07 16:01:06 UTC (rev 95242)
@@ -0,0 +1,36 @@
+--- configure.orig	2011-07-26 08:42:18.000000000 +1000
++++ configure	2012-07-08 01:55:16.000000000 +1000
+@@ -4417,7 +4417,7 @@
+ 
+ 
+ 
+-    if test "$GCC" = "yes"; then
++    if false; then
+ 
+     r="`eval echo '$'"CC"`"
+     { $as_echo "$as_me:$LINENO: checking $r version" >&5
+@@ -4497,7 +4497,6 @@
+     else
+ 	warn="$CC (Please install *GNU* cc)"
+ 
+-    eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"$warn\"`\"
+ 
+     fi
+ 
+@@ -4910,7 +4909,7 @@
+ 
+ 
+ 
+-    if test "$GXX" = "yes"; then
++    if false; then
+ 
+     r="`eval echo '$'"CXX"`"
+     { $as_echo "$as_me:$LINENO: checking $r version" >&5
+@@ -4990,7 +4989,6 @@
+     else
+ 	warn="$CXX (Please install *GNU* c++)"
+ 
+-    eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"$warn\"`\"
+ 
+     fi
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120707/529fefcf/attachment-0001.html>


More information about the macports-changes mailing list