ports/52802: [Maintainer Update] www/php-dyn

Alex Dupre sysadmin at alexdupre.com
Fri May 30 09:00:31 UTC 2003


>Number:         52802
>Category:       ports
>Synopsis:       [Maintainer Update] www/php-dyn
>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:   Fri May 30 02:00:28 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Unbreak build with new php 4.3.2.
Various fixes.
Require commit of PR 52674.
>How-To-Repeat:
>Fix:

--- php-dyn.diff begins here ---
diff -ruN php-dyn.orig/Makefile php-dyn/Makefile
--- php-dyn.orig/Makefile	Fri May 30 10:48:07 2003
+++ php-dyn/Makefile	Fri May 30 10:50:10 2003
@@ -16,16 +16,10 @@
 MAINTAINER=	sysadmin at alexdupre.com
 COMMENT=	A PHP Extension to help debugging a PHP script
 
-BUILD_DEPENDS=	phpize:${PORTSDIR}/www/mod_php4
-RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${APACHE_PORT} \
-		${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4
+USE_PHPIZE=	yes
+WITH_PHP_MOD=	yes
 
-USE_LIBTOOL=	yes
-WANT_AUTOMAKE_VER=	15
-WANT_AUTOCONF_VER=	253
-
-CONFIGURE_ARGS=	--enable-php_dyn=shared \
-		--with-php-config=${LOCALBASE}/bin/php-config
+CONFIGURE_ARGS=	--enable-php_dyn=shared
 
 EXT_DIR=	20020429
 PLIST_SUB=	EXT_DIR=${EXT_DIR}
@@ -33,16 +27,7 @@
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 .include <bsd.port.pre.mk>
-
-.if defined(WITH_APACHE2) || exists(${LOCALBASE}/include/apache2/apr.h)
-APACHE_PORT?=	${PORTSDIR}/www/apache2
-.else
-APACHE_PORT?=	${PORTSDIR}/www/apache13
-.endif
-
-post-extract:
-	@${ECHO_MSG} "===>    PHPizing for ${PORTNAME}-${PORTVERSION}"
-	@(cd ${WRKSRC}; ${LOCALBASE}/bin/phpize)
+.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
 
 post-build:
 	@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \
--- php-dyn.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list