From 04d4091b861aeb583e90bf942bb5f44184d3f1e9 Mon Sep 17 00:00:00 2001 From: pawel Date: Sun, 28 Oct 2012 12:02:49 +0000 Subject: - Fix another /bin/bash case - Trim Makefile header Feature safe: yes --- polish/kadu/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'polish') diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile index 2e2bee52b4e..4206aaeef87 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} -- cgit