bash is no more needed, drop the dependency

This commit is contained in:
giovanni 2012-06-12 16:23:19 +00:00
parent 8ba7acba7b
commit 4035a060c1
2 changed files with 3 additions and 13 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2012/04/18 13:24:21 giovanni Exp $
# $OpenBSD: Makefile,v 1.4 2012/06/12 16:23:19 giovanni Exp $
COMMENT = MySQL Percona tools
V = 2.1.1
DISTNAME = percona-toolkit-${V}
EPOCH = 0
REVISION= 0
CATEGORIES = databases perl5
HOMEPAGE = http://www.percona.com/software/percona-toolkit/
@ -21,15 +22,13 @@ MASTER_SITES = http://www.percona.com/redir/downloads/percona-toolkit/${V}/
RUN_DEPENDS = databases/p5-DBD-mysql>=3.0 \
devel/p5-Term-ReadKey \
shells/bash \
sysutils/flock \
sysutils/lsof
CONFIGURE_STYLE = perl
pre-configure:
${SUBST_CMD} ${WRKSRC}/bin/pt-summary
@find ${WRKSRC} \( -name "*.orig" -or -name "*.beforesubst" \) \
@find ${WRKSRC} \( -name "*.orig" \) \
-exec rm -f {} \;
.include <bsd.port.mk>

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-bin_pt-summary,v 1.2 2012/04/18 13:24:21 giovanni Exp $
--- bin/pt-summary.orig Tue Apr 3 21:51:38 2012
+++ bin/pt-summary Wed Apr 18 15:08:55 2012
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!${LOCALBASE}/bin/bash
# This program is part of Percona Toolkit: http://www.percona.com/software/
# See "COPYRIGHT, LICENSE, AND WARRANTY" at the end of this file for legal