Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177737631
D13137.1795165877.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
D13137.1795165877.diff
View Options
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)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 20, 9:11 AM (4 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41864613
Default Alt Text
D13137.1795165877.diff (2 KB)
Attached To
Mode
D13137: php*-fastdfs: remove hard-code patching
Attached
Detach File
Event Timeline