pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/z-push Fix build problem with PKG_DEVELOPER=YES.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f0c843bb53d
branches:  trunk
changeset: 349107:4f0c843bb53d
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 30 03:17:52 2016 +0000

description:
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:

 www/z-push/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 0036f3883f75 -r 4f0c843bb53d www/z-push/Makefile
--- a/www/z-push/Makefile       Wed Jun 29 13:52:34 2016 +0000
+++ b/www/z-push/Makefile       Thu Jun 30 03:17:52 2016 +0000
@@ -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_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 @@
 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    \



Home | Main Index | Thread Index | Old Index