summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2016-06-30 03:17:52 +0000
committertaca <taca@pkgsrc.org>2016-06-30 03:17:52 +0000
commite1f4ff01cea1245f924d3bc332b92aa1f28530c1 (patch)
tree5afba066b891b474ff1acfb346748135387e9a54 /www
parentd21c76a22c1ba8d668a1c75fa710d13fbc24d19e (diff)
downloadpkgsrc-e1f4ff01cea1245f924d3bc332b92aa1f28530c1.tar.gz
Fix build problem with PKG_DEVELOPER=YES.
* Replace interpreter of tools/migrate-2.0.x-2.1.0.php, too. * Change post-patch target to pre-configure for easier maintenance of patch files. * Drop execute bit from lib/syncobjects/syncresolverecipient.php.
Diffstat (limited to 'www')
-rw-r--r--www/z-push/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/z-push/Makefile b/www/z-push/Makefile
index f3d69e8d07b..b859d394163 100644
--- a/www/z-push/Makefile
+++ b/www/z-push/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/06/19 22:16:48 jym Exp $
+# $NetBSD: Makefile,v 1.3 2016/06/30 03:17:52 taca Exp $
#
DISTNAME= z-push-${ZPUSH_VERSION}
@@ -58,6 +58,7 @@ REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= z-push-admin.php
REPLACE_FILES.php+= z-push-top.php
REPLACE_FILES.php+= backend/zarafa/listfolders.php
+REPLACE_FILES.php+= tools/migrate-2.0.x-2.1.0.php
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
@@ -74,8 +75,9 @@ SUBST_MESSAGE.state-dir=Fixing Z-push state directory path.
post-extract:
${CP} ${FILESDIR}/z-push.conf ${WRKDIR}/z-push.conf
-post-patch:
+pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
+ ${CHMOD} -x ${WRKSRC}/lib/syncobjects/syncresolverecipient.php
do-install:
${INSTALL_DATA} ${WRKSRC}/config.php \