Index: head/ftp/php56-fastdfs/Makefile =================================================================== --- head/ftp/php56-fastdfs/Makefile +++ head/ftp/php56-fastdfs/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -PORTNAME= php56-fastdfs +PORTNAME= fastdfs PORTVERSION= 5.0.11 CATEGORIES= ftp +PKGNAMEPREFIX= php56- MAINTAINER= daniel@blodan.se COMMENT= PHP 5.6 module for accessing a FastDFS cluster @@ -18,10 +19,10 @@ GH_TAGNAME= 1e50b4f USES= php:ext -IGNORE_WITH_PHP= 70 71 PHP_VER= 56 WRKSRC_SUBDIR= php_client +CONFIGURE_ENV= ROOT=${LOCALBASE} PHP_MODNAME= fastdfs_client Index: head/ftp/php56-fastdfs/files/patch-config.m4 =================================================================== --- head/ftp/php56-fastdfs/files/patch-config.m4 +++ head/ftp/php56-fastdfs/files/patch-config.m4 @@ -1,11 +0,0 @@ ---- config.m4.orig 2016-08-08 07:17:50 UTC -+++ config.m4 -@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t - PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD) - - if test -z "$ROOT"; then -- ROOT=/usr -+ ROOT=/usr/local - fi - - PHP_ADD_INCLUDE($ROOT/include/fastcommon) Index: head/ftp/php70-fastdfs/Makefile =================================================================== --- head/ftp/php70-fastdfs/Makefile +++ head/ftp/php70-fastdfs/Makefile @@ -19,10 +19,10 @@ GH_TAGNAME= 1e50b4f USES= php:ext -IGNORE_WITH_PHP= 56 71 PHP_VER= 70 WRKSRC_SUBDIR= php_client +CONFIGURE_ENV= ROOT=${LOCALBASE} PHP_MODNAME= fastdfs_client Index: head/ftp/php70-fastdfs/files/patch-config.m4 =================================================================== --- head/ftp/php70-fastdfs/files/patch-config.m4 +++ head/ftp/php70-fastdfs/files/patch-config.m4 @@ -1,11 +0,0 @@ ---- config.m4.orig 2016-08-08 07:17:50 UTC -+++ config.m4 -@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t - PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD) - - if test -z "$ROOT"; then -- ROOT=/usr -+ ROOT=/usr/local - fi - - PHP_ADD_INCLUDE($ROOT/include/fastcommon) Index: head/ftp/php71-fastdfs/Makefile =================================================================== --- head/ftp/php71-fastdfs/Makefile +++ head/ftp/php71-fastdfs/Makefile @@ -19,10 +19,10 @@ GH_TAGNAME= 1e50b4f USES= php:ext -IGNORE_WITH_PHP= 56 70 PHP_VER= 71 WRKSRC_SUBDIR= php_client +CONFIGURE_ENV= ROOT=${LOCALBASE} PHP_MODNAME= fastdfs_client Index: head/ftp/php71-fastdfs/files/patch-config.m4 =================================================================== --- head/ftp/php71-fastdfs/files/patch-config.m4 +++ head/ftp/php71-fastdfs/files/patch-config.m4 @@ -1,11 +0,0 @@ ---- config.m4.orig 2016-08-08 07:17:50 UTC -+++ config.m4 -@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t - PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD) - - if test -z "$ROOT"; then -- ROOT=/usr -+ ROOT=/usr/local - fi - - PHP_ADD_INCLUDE($ROOT/include/fastcommon)