[150680] trunk/dports/devel/valgrind

jeremyhu at macports.org jeremyhu at macports.org
Tue Jul 26 09:58:35 PDT 2016


Revision: 150680
          https://trac.macports.org/changeset/150680
Author:   jeremyhu at macports.org
Date:     2016-07-26 09:58:35 -0700 (Tue, 26 Jul 2016)
Log Message:
-----------
valgrind: Fix building with Xcode 8

Modified Paths:
--------------
    trunk/dports/devel/valgrind/Portfile

Added Paths:
-----------
    trunk/dports/devel/valgrind/files/patch-configure.ac.diff

Modified: trunk/dports/devel/valgrind/Portfile
===================================================================
--- trunk/dports/devel/valgrind/Portfile	2016-07-26 16:56:54 UTC (rev 150679)
+++ trunk/dports/devel/valgrind/Portfile	2016-07-26 16:58:35 UTC (rev 150680)
@@ -61,6 +61,9 @@
     }
 }
 
+patchfiles-append \
+    patch-configure.ac.diff
+
 pre-configure {
     if {[mpi_variant_isset]} {
         configure.args-delete --without-mpicc
@@ -84,8 +87,8 @@
 
     pre-fetch {
         if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 15)} {
-            ui_error "${subport} @${version} is only compatible with Mac OS X versions from 10.5 up to 10.11"
-            return -code error "incompatible Mac OS X version"
+            ui_error "${subport} @${version} is only compatible with macOS versions from 10.5 up to 10.11."
+            return -code error "incompatible macOS version"
         }
     }
 
@@ -95,8 +98,8 @@
 }
 
 subport valgrind-devel {
-    svn.revision        15901
-    set vex_revision    3222
+    svn.revision        15915
+    set vex_revision    3232
     version             3.12.0-r${svn.revision}
     revision            0
     conflicts           valgrind
@@ -112,8 +115,8 @@
 
     pre-fetch {
         if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 15)} {
-            ui_error "${subport} @${version} is only compatible with Mac OS X versions from 10.5 up to 10.11"
-            return -code error "incompatible Mac OS X version"
+            ui_error "${subport} @${version} is only compatible with macOS versions from 10.5 up to 10.11."
+            return -code error "incompatible macOS version"
         }
     }
 

Added: trunk/dports/devel/valgrind/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/devel/valgrind/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/devel/valgrind/files/patch-configure.ac.diff	2016-07-26 16:58:35 UTC (rev 150680)
@@ -0,0 +1,22 @@
+https://bugs.kde.org/show_bug.cgi?id=366138
+
+--- configure.ac.orig	2016-07-26 09:30:11.000000000 -0700
++++ configure.ac	2016-07-26 09:30:27.000000000 -0700
+@@ -154,7 +154,7 @@ AM_CONDITIONAL(COMPILER_IS_ICC, test $is
+ # Note: m4 arguments are quoted with [ and ] so square brackets in shell
+ # statements have to be quoted.
+ case "${is_clang}-${gcc_version}" in
+-     applellvm-5.1|applellvm-6.*|applellvm-7.*)
++     applellvm-5.1|applellvm-[[6-9]].*|applellvm-[[1-9]][[0-9]].*)
+ 	AC_MSG_RESULT([ok (Apple LLVM version ${gcc_version})])
+ 	;;
+      icc-1[[3-9]].*)
+@@ -167,7 +167,7 @@ case "${is_clang}-${gcc_version}" in
+ 	AC_MSG_RESULT([ok (clang-${gcc_version})])
+ 	;;
+      *)
+-	AC_MSG_RESULT([no (${gcc_version})])
++	AC_MSG_RESULT([no (${is_clang}-${gcc_version})])
+ 	AC_MSG_ERROR([please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0])
+ 	;;
+ esac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160726/673ac04b/attachment.html>


More information about the macports-changes mailing list