From c882dea444f7af4561c5eb56a9a3be592ab8a268 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sun, 28 Oct 2012 12:02:49 +0000 Subject: [PATCH] - Fix another /bin/bash case - Trim Makefile header Feature safe: yes --- polish/kadu/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile index 2e2bee52b4ec..4206aaeef878 100644 --- a/polish/kadu/Makefile +++ b/polish/kadu/Makefile @@ -1,12 +1,9 @@ -# Ports collection makefile for: kadu -# Date created: 17 July 2003 -# Whom: Jacek Pelka -# +# Created by: Jacek Pelka # $FreeBSD$ -# PORTNAME= kadu PORTVERSION= 0.12.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= polish net-im MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \ @@ -82,6 +79,8 @@ post-patch: ${WRKSRC}/plugins/tabs/CMakeLists.txt @${FIND} ${WRKSRC} -exec ${GREP} -q "#!/bin/bash" {} \; \ -exec ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|g' {} \; + @${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/plugins/sql_history/storage/sql-restore.cpp post-install: .if ${PORT_OPTIONS:MGG_EMOTS}