summaryrefslogtreecommitdiff
path: root/audio/mac/files/patch-configure
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-04-08 08:29:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-04-08 08:29:08 +0000
commit49c25e5210b73b8d26971c75a370c849acdb712e (patch)
tree57af34b6292a4897487250811077061a4e045332 /audio/mac/files/patch-configure
parent- Update to 2.3.1 (diff)
- Update to the most recent version maintained by Jason Jordan as part of
his 3.99-u4-b5-sX series. Unfortunately we cannot assign it directly to DISTVERSION without having to bump PORTEPOCH, so stick to 3.99.4.5.7 for the time being (note that upstream Monkey's Audio SDK is at version 4.16 right now; but seems that no one ported it to Linux/Unix -- folks prefer to maintain old 3.xx port instead; mention this in the port description) - Build in "shntool-enabled" mode by default (-DSHNTOOL); this is also in line with how most GNU/Linux distributions package it - Install couple of useful documentation files, but first beautify them a bit: convert to UTF-8 and append missing newline at EOF; sed(1) command might look unnatural, but it is compatible with both GNU and BSD sed(1) implementations (cf.: '-nep' is GNU-only, and '$G' is new BSD-only); we prefer ${SED} over ${ECHO_CMD} >> because it is shorter and allows for linear piping (no subshell and stream joining required) - Convert in-place configure script editing to a patch as we also have to teach it that elftoolchain's strip(1) can strip libraries; staying with REINPLACE_CMD would make it harder to read compared to normal patchfile - Remove duplicate GNU_CONFIGURE line, bogusly added by bapt@ in r353071
Diffstat (limited to 'audio/mac/files/patch-configure')
-rw-r--r--audio/mac/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/mac/files/patch-configure b/audio/mac/files/patch-configure
new file mode 100644
index 000000000000..531d0ba82e43
--- /dev/null
+++ b/audio/mac/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2010-07-22 17:51:17 UTC
++++ configure
+@@ -3075,7 +3075,7 @@ fi
+
+
+ # Checks for programs.
+-CXXFLAGS="$CXXFLAGS -O3 -Wall -pedantic -Wno-long-long"
++CXXFLAGS="$CXXFLAGS -Wall -pedantic -Wno-long-long"
+ ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -11215,7 +11215,7 @@ striplib=
+ old_striplib=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+ $as_echo_n "checking whether stripping libraries is possible... " >&6; }
+-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
++if test -n "$STRIP" && $STRIP -V 2>&1 | $EGREP "GNU|elftoolchain" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5