diff options
author | taca <taca@pkgsrc.org> | 2016-06-30 03:17:52 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2016-06-30 03:17:52 +0000 |
commit | 3cda3b9ce5f333bad20171bcf6a710685389b99d (patch) | |
tree | a34ec01614fc707f51529205ebd9b67baa770656 /www | |
parent | 3793e60e52ea84e9334ba55336939ba4ac468b4c (diff) | |
download | pkgsrc-3cda3b9ce5f333bad20171bcf6a710685389b99d.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/Makefile | 6 |
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 \ |