diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-03-08 19:48:41 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-03-08 19:48:41 +0000 |
commit | a1993564e04f29ecbaa05be740547c8677d423cd (patch) | |
tree | a942b9de6ec3ced252f123bf8a905b18d685aa72 /multimedia | |
parent | net/pear-Net_Sieve: Update to 1.4.3 (diff) |
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
Notes
Notes:
svn path=/head/; revision=463917
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/php-pHash/Makefile | 2 | ||||
-rw-r--r-- | multimedia/zoneminder/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/php-pHash/Makefile b/multimedia/php-pHash/Makefile index b4a592170480..4692231ab23f 100644 --- a/multimedia/php-pHash/Makefile +++ b/multimedia/php-pHash/Makefile @@ -7,7 +7,7 @@ PORTREVISION= 2 CATEGORIES= multimedia devel MASTER_SITES= http://phash.org/releases/ \ http://www.cyberbotx.com/pHash/ -PKGNAMEPREFIX= php- +PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= cyberbotx@cyberbotx.com COMMENT= PHP extension for the pHash perceptual hash library diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile index 951cc2102d4c..97309c36ab7a 100644 --- a/multimedia/zoneminder/Makefile +++ b/multimedia/zoneminder/Makefile @@ -82,9 +82,9 @@ CMAKE_ARGS+= -DZM_PERL_MM_PARMS=INSTALLDIRS=site \ .include <bsd.port.pre.mk> .if ${PHP_VER} >= 70 -RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu +RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR} .else -RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4 +RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4@${PHP_FLAVOR} .endif PKGMESSAGE= ${WRKDIR}/pkg-message |