aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2015-09-08 17:50:47 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2015-09-08 17:50:47 +0000
commitbd53d3e59687ff498dd34d8fc8525ea85deadee8 (patch)
tree4aeda5832a064eef128b3ecc0f5b94c3eec55d17 /benchmarks
parentd58853af1bd65d3ea9f28fcabcecef7696842068 (diff)
downloadports-bd53d3e59687ff498dd34d8fc8525ea85deadee8.tar.gz
ports-bd53d3e59687ff498dd34d8fc8525ea85deadee8.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dkftpbench/Makefile8
-rw-r--r--benchmarks/dkftpbench/files/patch-Makefile.in40
2 files changed, 41 insertions, 7 deletions
diff --git a/benchmarks/dkftpbench/Makefile b/benchmarks/dkftpbench/Makefile
index 4d93ccf7fa39..1029c5e21ee8 100644
--- a/benchmarks/dkftpbench/Makefile
+++ b/benchmarks/dkftpbench/Makefile
@@ -7,7 +7,7 @@ PORTREVISION= 2
CATEGORIES= benchmarks ftp
MASTER_SITES= http://www.kegel.com/dkftpbench/
-MAINTAINER= novel@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= FTP benchmark program
LICENSE= GPLv2
@@ -15,10 +15,4 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
PLIST_FILES= bin/dkftpbench
-post-patch:
- @${REINPLACE_CMD} \
- -e '/^noinst_PROGRAMS =/s/=.*/=/' \
- -e '/^lib_LIBRARIES =/s/=.*/=/' \
- ${WRKSRC}/Makefile.in
-
.include <bsd.port.mk>
diff --git a/benchmarks/dkftpbench/files/patch-Makefile.in b/benchmarks/dkftpbench/files/patch-Makefile.in
new file mode 100644
index 000000000000..4022f34012d8
--- /dev/null
+++ b/benchmarks/dkftpbench/files/patch-Makefile.in
@@ -0,0 +1,40 @@
+--- Makefile.in.orig 2002-07-31 19:00:13.000000000 +0400
++++ Makefile.in 2015-09-08 20:28:30.951369000 +0300
+@@ -92,19 +92,6 @@
+ # Real programs
+ bin_PROGRAMS = dkftpbench
+
+-noinst_PROGRAMS = $(TESTS) $(HAND_TESTS) dklimits Poller_bench profile
+-
+-lib_LIBRARIES = libPoller.a
+-pkginclude_HEADERS = \
+- Poller.h \
+- Poller_devpoll.h \
+- Poller_poll.h \
+- Poller_select.h \
+- Poller_sigio.h \
+- Poller_sigfd.h \
+- Poller_kqueue.h
+-
+-
+ # No info yet
+ info_TEXINFOS =
+
+@@ -828,7 +815,7 @@
+ install-exec-am: install-libLIBRARIES install-binPROGRAMS
+ install-exec: install-exec-am
+
+-install-data-am: install-info-am install-pkgincludeHEADERS
++install-data-am: install-info-am
+ install-data: install-data-am
+
+ install-am: all-am
+@@ -843,7 +830,7 @@
+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+ installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+- $(DESTDIR)$(infodir) $(DESTDIR)$(pkgincludedir)
++ $(DESTDIR)$(infodir)
+
+
+ mostlyclean-generic: