Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2011 15:10:12 GMT
From:      Hans Fredrik Nordhaug <hans@nordhaug.priv.no>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/153677: [MAINTAINER] www/piwik: update to 1.1
Message-ID:  <201101041510.p04FACYp098194@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/153677; it has been noted by GNATS.

From: Hans Fredrik Nordhaug <hans@nordhaug.priv.no>
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 <bsd.port.pre.mk>
  
 +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 <bsd.port.post.mk>
 
 --UugvWAfsgieZRqgk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101041510.p04FACYp098194>