From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 4 15:10:13 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E8E6106566C for ; Tue, 4 Jan 2011 15:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7F28FC08 for ; Tue, 4 Jan 2011 15:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p04FACJc098195 for ; Tue, 4 Jan 2011 15:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p04FACYp098194; Tue, 4 Jan 2011 15:10:12 GMT (envelope-from gnats) Date: Tue, 4 Jan 2011 15:10:12 GMT Message-Id: <201101041510.p04FACYp098194@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Hans Fredrik Nordhaug Cc: Subject: Re: ports/153677: [MAINTAINER] www/piwik: update to 1.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Fredrik Nordhaug List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 15:10:13 -0000 The following reply was made to PR ports/153677; it has been noted by GNATS. From: Hans Fredrik Nordhaug To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/153677: [MAINTAINER] www/piwik: update to 1.1 Date: Tue, 4 Jan 2011 15:00:07 +0100 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Argh, the patching of archive.sh of course has to be done in the post-patch target and not post-install. The attached patch against the piwik-1.1.patch. Sorry about the trouble. Regards, Hans --UugvWAfsgieZRqgk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="piwik-1.1-fix.patch" --- /usr/ports/www/piwik/Makefile.orig 2011-01-04 13:28:25.000000000 +0100 +++ /usr/ports/www/piwik/Makefile 2011-01-04 14:35:03.000000000 +0100 @@ -24,6 +24,9 @@ .include +post-patch: + @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/misc/cron/archive.sh + pre-install: @if [ ! -f ${LOCALBASE}/bin/php ]; then \ echo " It seems you install php without CLI enabled. "; \ @@ -43,8 +46,6 @@ >> ${TMPPLIST} @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \ >> ${TMPPLIST} - @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/misc/cron/archive.sh - @${CAT} ${PKGMESSAGE} .include --UugvWAfsgieZRqgk--