summaryrefslogtreecommitdiff
path: root/databases/php55-redis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/php55-redis/Makefile')
-rw-r--r--databases/php55-redis/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/databases/php55-redis/Makefile b/databases/php55-redis/Makefile
index 1bdb20d391e0..9acaee43d470 100644
--- a/databases/php55-redis/Makefile
+++ b/databases/php55-redis/Makefile
@@ -17,21 +17,18 @@ USE_GITHUB= yes
GH_ACCOUNT= nicolasff
GH_PROJECT= phpredis
-USE_PHP= session
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext
+USE_PHP= session:build
PHP_DEFAULT= 5.5
IGNORE_WITH_PHP= 56 70
-PHP_MODNAME= redis
-
OPTIONS_DEFINE= IGBINARY
IGBINARY_DESC= Build with Igbinary serializer
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIGBINARY}
-USE_PHP+= igbinary
+USE_PHP+= igbinary:build
CONFIGURE_ARGS+=--enable-redis-igbinary
.else
CONFIGURE_ARGS+=--disable-redis-igbinary