Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 18:06:38 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50786: [Maintainer Update] Port: www/turck-mmcache
Message-ID:  <200304101606.h3AG6cQF024053@vaio.alexdupre.com>
Resent-Message-ID: <200304101610.h3AGABsV039880@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         50786
>Category:       ports
>Synopsis:       [Maintainer Update] Port: www/turck-mmcache
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 10 09:10:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Update Turck-MMCache to 2.3.9.
(New optimizations and Zend Engine 2 support)
>How-To-Repeat:
>Fix:

--- mmcache.diff begins here ---
diff -ruN turck-mmcache.orig/Makefile turck-mmcache/Makefile
--- turck-mmcache.orig/Makefile	Thu Apr 10 17:34:08 2003
+++ turck-mmcache/Makefile	Thu Apr 10 18:00:43 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	turck-mmcache
-PORTVERSION=	2.3.8
+PORTVERSION=	2.3.9
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,7 +14,8 @@
 MAINTAINER=	sysadmin@alexdupre.com
 COMMENT=	An opcode cache for PHP
 
-BUILD_DEPENDS=	phpize:${PORTSDIR}/www/mod_php4
+EXTRACT_DEPENDS=phpize:${PORTSDIR}/www/mod_php4
+BUILD_DEPENDS=	${LOCALBASE}/include/php/Zend/zend.h:${PORTSDIR}/www/mod_php4
 LIB_DEPENDS=	mm.12:${PORTSDIR}/devel/mm
 RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${APACHE_PORT} \
 		${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4
@@ -43,11 +44,10 @@
 .endif
 
 post-extract:
+	@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/config.m4
+	@${REINPLACE_CMD} -e 's,[[:cntrl:]]$$,,g' ${WRKSRC}/mmcache.c
 	@${ECHO_MSG} "===>  PHPizing for ${DISTNAME}"
 	@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
-
-post-patch:
-	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/configure
 
 post-build:
 	@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \
diff -ruN turck-mmcache.orig/distinfo turck-mmcache/distinfo
--- turck-mmcache.orig/distinfo	Thu Apr 10 17:34:08 2003
+++ turck-mmcache/distinfo	Thu Apr 10 17:34:52 2003
@@ -1 +1 @@
-MD5 (turck-mmcache-2.3.8.tar.gz) = 01e7b64dcb32f765dfd518486a1b9d38
+MD5 (turck-mmcache-2.3.9.tar.gz) = d578827ef7914f6c9d7920ad0e27727d
--- mmcache.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304101606.h3AG6cQF024053>