ports/188236: [MAINTAINER] databases/php-adodb-ext: Solve compilation problem with PHP 5.5

Joe Horn joehorn at gmail.com
Thu Apr 3 18:10:01 UTC 2014


>Number:         188236
>Category:       ports
>Synopsis:       [MAINTAINER] databases/php-adodb-ext: Solve compilation problem with PHP 5.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 18:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
Taiwanese user
>Environment:
System: FreeBSD www.joehorn.idv.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Thu Dec 13 20:04:15 UTC 2012
>Description:
- Solve compilation problem with PHP 5.5
- Remove DEFAULT_PHP_VER setting

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- php-adodb-ext-5.04_3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 350030)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	adodb-ext
 PORTVERSION=	5.04
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	databases
 MASTER_SITES=	http://phplens.com/lens/dl/
 PKGNAMEPREFIX=	php-
@@ -17,7 +17,6 @@
 USES=		zip
 USE_PHP=	yes
 USE_PHPIZE=	yes
-DEFAULT_PHP_VER=53
 
 CONFIGURE_ARGS=		--with-php-config=${PREFIX}/bin/php-config \
 			--prefix=${PREFIX}/lib/php/${PHP_EXT_DIR}
@@ -28,9 +27,9 @@
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
-.if ${PHP_VER} == "5"
+.if ${PHP_VER} == "5" || ${PHP_VER} == "54" || ${PHP_VER} == "55"
 EXTRA_PATCHES=	${PATCHDIR}/extra-patch-php54-adodb.c
-.elif ${PHP_VER} != "52"
+.elif ${PHP_VER} == "53"
 EXTRA_PATCHES=	${PATCHDIR}/extra-patch-adodb.c
 .endif
 
--- php-adodb-ext-5.04_3.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list