ports/115696: [PATCH] lang/php5: Add support to db45 & db46

Gea-Suan Lin gslin at gslin.org
Tue Aug 21 21:40:01 UTC 2007


>Number:         115696
>Category:       ports
>Synopsis:       [PATCH] lang/php5: Add support to db45 & db46
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 21:40:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ccreader.NCTU.edu.tw 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jul 29 04:54:23 UTC 2007
>Description:
- Add support to db45 & db46

Port maintainer (ale at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- php5-5.2.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/php5/Makefile.ext /home/staff/gslin/work/ports/php5/Makefile.ext
--- /usr/ports/lang/php5/Makefile.ext	2007-07-25 15:19:18.000000000 +0800
+++ /home/staff/gslin/work/ports/php5/Makefile.ext	2007-08-22 05:34:31.000000000 +0800
@@ -503,6 +503,12 @@
 .	endif
 .	if defined(WITH_DB4)
 WITH_DB4_VER?=	44
+.		if ${WITH_DB4_VER} == 46
+LIB_DEPENDS+=	db-4.6.0:${PORTSDIR}/databases/db46
+.		else
+.		if ${WITH_DB4_VER} == 45
+LIB_DEPENDS+=	db-4.5.0:${PORTSDIR}/databases/db45
+.		else
 .		if ${WITH_DB4_VER} == 43
 LIB_DEPENDS+=	db-4.3.0:${PORTSDIR}/databases/db43
 .		else
@@ -520,6 +526,8 @@
 .		endif
 .		endif
 .		endif
+.		endif
+.		endif
 CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
 .	endif
 .	if defined(WITH_GDBM)
--- php5-5.2.3_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list