View | Details | Raw Unified | Return to bug 223714 | Differences between
and this patch

Collapse All | Expand All

(-)php56-fastdfs/Makefile (-3 / +6 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	php56-fastdfs
3
PORTNAME=	fastdfs
4
PORTVERSION=	5.0.11
4
DISTVERSION=	5.0.11
5
CATEGORIES=	ftp
5
CATEGORIES=	ftp
6
PKGNAMEPREFIX=	php56-
6
7
7
MAINTAINER=	daniel@blodan.se
8
MAINTAINER=	daniel@blodan.se
8
COMMENT=	PHP 5.6 module for accessing a FastDFS cluster
9
COMMENT=	PHP 5.6 module for accessing a FastDFS cluster
Lines 9-14 Link Here
9
10
10
LICENSE=	GPLv3+
11
LICENSE=	GPLv3+
11
12
13
IGNORE_WITH_PHP=	70 71 72
14
12
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
15
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
13
		libfdfsclient.so:ftp/fastdfs
16
		libfdfsclient.so:ftp/fastdfs
14
17
Lines 18-27 Link Here
18
GH_TAGNAME=	1e50b4f
21
GH_TAGNAME=	1e50b4f
19
22
20
USES=			php:ext
23
USES=			php:ext
21
IGNORE_WITH_PHP=	70 71
22
PHP_VER=		56
24
PHP_VER=		56
23
25
24
WRKSRC_SUBDIR=	php_client
26
WRKSRC_SUBDIR=	php_client
27
CONFIGURE_ENV=	ROOT=${LOCALBASE}
25
28
26
PHP_MODNAME=	fastdfs_client
29
PHP_MODNAME=	fastdfs_client
27
30
(-)php56-fastdfs/files/patch-config.m4 (-11 lines)
Lines 1-11 Link Here
1
--- config.m4.orig	2016-08-08 07:17:50 UTC
2
+++ config.m4
3
@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t
4
   PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD)
5
 
6
   if test -z "$ROOT"; then
7
-	ROOT=/usr
8
+	ROOT=/usr/local
9
   fi
10
 
11
   PHP_ADD_INCLUDE($ROOT/include/fastcommon)
(-)php70-fastdfs/Makefile (-2 / +4 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	fastdfs
3
PORTNAME=	fastdfs
4
PORTVERSION=	5.0.11
4
DISTVERSION=	5.0.11
5
CATEGORIES=	ftp
5
CATEGORIES=	ftp
6
PKGNAMEPREFIX=	php70-
6
PKGNAMEPREFIX=	php70-
7
7
Lines 10-15 Link Here
10
10
11
LICENSE=	GPLv3+
11
LICENSE=	GPLv3+
12
12
13
IGNORE_WITH_PHP=	56 71 72
14
13
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
15
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
14
		libfdfsclient.so:ftp/fastdfs
16
		libfdfsclient.so:ftp/fastdfs
15
17
Lines 19-28 Link Here
19
GH_TAGNAME=	1e50b4f
21
GH_TAGNAME=	1e50b4f
20
22
21
USES=			php:ext
23
USES=			php:ext
22
IGNORE_WITH_PHP=	56 71
23
PHP_VER=		70
24
PHP_VER=		70
24
25
25
WRKSRC_SUBDIR=	php_client
26
WRKSRC_SUBDIR=	php_client
27
CONFIGURE_ENV=	ROOT=${LOCALBASE}
26
28
27
PHP_MODNAME=	fastdfs_client
29
PHP_MODNAME=	fastdfs_client
28
30
(-)php70-fastdfs/files/patch-config.m4 (-11 lines)
Lines 1-11 Link Here
1
--- config.m4.orig	2016-08-08 07:17:50 UTC
2
+++ config.m4
3
@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t
4
   PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD)
5
 
6
   if test -z "$ROOT"; then
7
-	ROOT=/usr
8
+	ROOT=/usr/local
9
   fi
10
 
11
   PHP_ADD_INCLUDE($ROOT/include/fastcommon)
(-)php71-fastdfs/Makefile (-2 / +4 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	fastdfs
3
PORTNAME=	fastdfs
4
PORTVERSION=	5.0.11
4
DISTVERSION=	5.0.11
5
CATEGORIES=	ftp
5
CATEGORIES=	ftp
6
PKGNAMEPREFIX=	php71-
6
PKGNAMEPREFIX=	php71-
7
7
Lines 10-15 Link Here
10
10
11
LICENSE=	GPLv3+
11
LICENSE=	GPLv3+
12
12
13
IGNORE_WITH_PHP=	56 70 72
14
13
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
15
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
14
		libfdfsclient.so:ftp/fastdfs
16
		libfdfsclient.so:ftp/fastdfs
15
17
Lines 19-28 Link Here
19
GH_TAGNAME=	1e50b4f
21
GH_TAGNAME=	1e50b4f
20
22
21
USES=			php:ext
23
USES=			php:ext
22
IGNORE_WITH_PHP=	56 70
23
PHP_VER=		71
24
PHP_VER=		71
24
25
25
WRKSRC_SUBDIR=	php_client
26
WRKSRC_SUBDIR=	php_client
27
CONFIGURE_ENV=	ROOT=${LOCALBASE}
26
28
27
PHP_MODNAME=	fastdfs_client
29
PHP_MODNAME=	fastdfs_client
28
30
(-)php71-fastdfs/files/patch-config.m4 (-11 lines)
Lines 1-11 Link Here
1
--- config.m4.orig	2016-08-08 07:17:50 UTC
2
+++ config.m4
3
@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t
4
   PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD)
5
 
6
   if test -z "$ROOT"; then
7
-	ROOT=/usr
8
+	ROOT=/usr/local
9
   fi
10
 
11
   PHP_ADD_INCLUDE($ROOT/include/fastcommon)

Return to bug 223714