mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Fix build with php 5.4 and drop maintainership.
This commit is contained in:
parent
8895120fca
commit
f443020df1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297271
@ -8,15 +8,15 @@
|
|||||||
PORTNAME= php-templates
|
PORTNAME= php-templates
|
||||||
PORTVERSION= 1.7.2
|
PORTVERSION= 1.7.2
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.7 \
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.7:ext \
|
||||||
SF/${PORTNAME}/${PORTNAME}-doc/html
|
SF/${PORTNAME}/${PORTNAME}-doc/html:doc
|
||||||
DISTNAME= php_templates-${PORTVERSION}
|
DISTNAME= php_templates-${PORTVERSION}
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:ext
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
DISTFILES+= php_templates-doc-eng-1.1${EXTRACT_SUFX}
|
DISTFILES+= php_templates-doc-eng-1.1${EXTRACT_SUFX}:doc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
MAINTAINER= ale@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A template framework for PHP
|
COMMENT= A template framework for PHP
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/templates
|
WRKSRC= ${WRKDIR}/templates
|
||||||
@ -24,8 +24,6 @@ USE_DOS2UNIX= yes
|
|||||||
|
|
||||||
USE_PHP= yes
|
USE_PHP= yes
|
||||||
USE_PHPIZE= yes
|
USE_PHPIZE= yes
|
||||||
DEFAULT_PHP_VER=53
|
|
||||||
IGNORE_WITH_PHP=5
|
|
||||||
|
|
||||||
CONFIGURE_ARGS= --enable-templates=shared
|
CONFIGURE_ARGS= --enable-templates=shared
|
||||||
|
|
||||||
|
11
www/php-templates/files/patch-templates.c
Normal file
11
www/php-templates/files/patch-templates.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- templates.c.orig 2012-05-23 09:56:51.000000000 +0200
|
||||||
|
+++ templates.c 2012-05-23 09:57:08.000000000 +0200
|
||||||
|
@@ -48,7 +48,7 @@
|
||||||
|
int le_templates;
|
||||||
|
|
||||||
|
/* {{{ templates_functions[] */
|
||||||
|
-function_entry templates_functions[] = {
|
||||||
|
+zend_function_entry templates_functions[] = {
|
||||||
|
PHP_FE(tmpl_open, NULL)
|
||||||
|
PHP_FE(tmpl_load, NULL)
|
||||||
|
PHP_FE(tmpl_close, NULL)
|
Loading…
x
Reference in New Issue
Block a user