diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-12-30 22:39:59 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-12-30 22:39:59 +0000 |
commit | 91282a3ede5a9fd4753f4de41653b598eabb114f (patch) | |
tree | 04227fba0c6fe48e63ac82475bb95d61e5b3e283 | |
parent | Revert r488743, it results in a bogus dependency for PHP 5.6 (diff) |
Revert r488739, it resulted in bogus dependencies for PHP 5.6
Notes
Notes:
svn path=/head/; revision=488747
-rw-r--r-- | devel/gitphp/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/gitphp/Makefile b/devel/gitphp/Makefile index f5208fe3a215..847c259fe2a9 100644 --- a/devel/gitphp/Makefile +++ b/devel/gitphp/Makefile @@ -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> |