aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dbench/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/dbench/Makefile b/benchmarks/dbench/Makefile
index f70dc13c8bd6..0884674ccc99 100644
--- a/benchmarks/dbench/Makefile
+++ b/benchmarks/dbench/Makefile
@@ -13,9 +13,10 @@ MASTER_SITES= ftp://samba.org/pub/tridge/dbench/
MAINTAINER= nyxo@dnuc.polyn.kiae.su
WRKSRC= ${WRKDIR}/dbench
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e 's/^CFLAGS.+//g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's/^CFLAGS.+//g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dbench ${PREFIX}/bin/dbench