summaryrefslogtreecommitdiff
path: root/astro/osmium/files/patch-test-run__tests.sh
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /astro/osmium/files/patch-test-run__tests.sh
parent- Update to 20110724.002 (diff)
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful - Canonicalize patch names - Fix DOS line endings in patch files
Diffstat (limited to 'astro/osmium/files/patch-test-run__tests.sh')
-rw-r--r--astro/osmium/files/patch-test-run__tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/osmium/files/patch-test-run__tests.sh b/astro/osmium/files/patch-test-run__tests.sh
new file mode 100644
index 000000000000..8a7f46bcdd1d
--- /dev/null
+++ b/astro/osmium/files/patch-test-run__tests.sh
@@ -0,0 +1,15 @@
+--- test/run_tests.sh.orig 2013-05-09 19:20:50.000000000 +0400
++++ test/run_tests.sh 2013-05-23 00:01:42.140354335 +0400
+@@ -10,8 +10,10 @@
+
+ set -e
+
+-CXX="g++"
+-CXXFLAGS="-g -Wall -Wextra -Wredundant-decls -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long"
++if [ -z "$CXX" ]; then
++ CXX="g++"
++fi
++CXXFLAGS="$CXXFLAGS -g -Wall -Wextra -Wredundant-decls -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long"
+ COMPILE="$CXX -I../include -I. $CXXFLAGS -o tests"
+
+ if [ "x$1" = "x-v" ]; then