Possible patch for sox build failure on 10.7

Joshua Root jmr at macports.org
Tue Aug 8 23:05:36 UTC 2017


Perhaps someone with access to a 10.7 machine could try this.

- Josh
-------------- next part --------------
diff --git a/audio/sox/Portfile b/audio/sox/Portfile
index 9914efaf31..893c4c68da 100644
--- a/audio/sox/Portfile
+++ b/audio/sox/Portfile
@@ -32,6 +32,12 @@ patchfiles	patch-src-formats.c.diff
 depends_build	\
 		port:pkgconfig
 
+platform darwin 11 {
+	# System grep fails: "grep: Regular expression too big"
+	depends_build-append	\
+		port:grep
+}
+
 depends_lib	\
 		port:flac		\
 		port:lame		\
@@ -52,11 +58,12 @@ depends_lib	\
 
 configure.args	\
 		--enable-largefile	\
-		--disable-silent-libtool\
+		--disable-silent-libtool	\
+		--disable-silent-rules	\
 		--disable-openmp	\
 		--enable-symlinks	\
 		--without-libltdl	\
-		--with-distro=macosx	\
+		--with-distro=macosx
 
 # additional formats
 configure.args-append \


More information about the macports-dev mailing list