ports/153677: [MAINTAINER] www/piwik: update to 1.1
Hans Fredrik Nordhaug
hans at nordhaug.priv.no
Tue Jan 4 15:10:13 UTC 2011
The following reply was made to PR ports/153677; it has been noted by GNATS.
From: Hans Fredrik Nordhaug <hans at nordhaug.priv.no>
To: bug-followup at 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--
More information about the freebsd-ports-bugs
mailing list