summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2017-05-25 12:56:35 (GMT)
committersthen <sthen@openbsd.org>2017-05-25 12:56:35 (GMT)
commit82112fb7d0d48c3d95cad09da0dc4261e0d49124 (patch)
treecc21ba70a6a4ef89f83378c01d5ffd95f76a87cc
parentb9068ff9800587e005fe5f29db89455fabf765a2 (diff)
downloadopenbsd-ports-82112fb7d0d48c3d95cad09da0dc4261e0d49124.tar.gz
openbsd-ports-82112fb7d0d48c3d95cad09da0dc4261e0d49124.tar.xz
disable building the profiled binary, it wasn't installed anyway, and fails with clang
-rw-r--r--net/iperf3/patches/patch-src_Makefile_in17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/iperf3/patches/patch-src_Makefile_in b/net/iperf3/patches/patch-src_Makefile_in
new file mode 100644
index 0000000..df9425e
--- /dev/null
+++ b/net/iperf3/patches/patch-src_Makefile_in
@@ -0,0 +1,17 @@
+$OpenBSD: patch-src_Makefile_in,v 1.1 2017/05/25 12:56:35 sthen Exp $
+
+disable building the profiled binary, it wasn't installed anyway, and fails with clang
+
+Index: src/Makefile.in
+--- src/Makefile.in.orig
++++ src/Makefile.in
+@@ -91,8 +91,7 @@ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+ bin_PROGRAMS = iperf3$(EXEEXT)
+-noinst_PROGRAMS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT) \
+- iperf3_profile$(EXEEXT)
++noinst_PROGRAMS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT)
+ TESTS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT)
+ subdir = src
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4