Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 22:40:00 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488747 - head/devel/gitphp
Message-ID:  <201812302240.wBUMe0wk067991@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun Dec 30 22:39:59 2018
New Revision: 488747
URL: https://svnweb.freebsd.org/changeset/ports/488747

Log:
  Revert r488739, it resulted in bogus dependencies for PHP 5.6

Modified:
  head/devel/gitphp/Makefile

Modified: head/devel/gitphp/Makefile
==============================================================================
--- head/devel/gitphp/Makefile	Sun Dec 30 22:37:40 2018	(r488746)
+++ head/devel/gitphp/Makefile	Sun Dec 30 22:39:59 2018	(r488747)
@@ -13,14 +13,19 @@ LICENSE=	GPLv2
 
 USES=		gettext php:web tar:bzip2
 USE_PHP=	bz2 fileinfo mbstring memcache posix simplexml spl zlib
-
 NO_ARCH=	yes
 NO_BUILD=	yes
 
 PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 
+.include <bsd.port.pre.mk>
+
+.if (${PHP_VER} < 70)
+RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff@${PHP_FLAVOR}
+.else
 RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff2@${PHP_FLAVOR}
+.endif
 
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
@@ -28,4 +33,4 @@ do-install:
 		 && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
 	${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 {} +
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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