Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2007 05:38:28 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, ale@FreeBSD.org
Subject:   ports/115696: [PATCH] lang/php5: Add support to db45 & db46
Message-ID:  <20070821213828.8298C1CC34@ccreader.NCTU.edu.tw>
Resent-Message-ID: <200708212140.l7LLe1Vc022339@freefall.freebsd.org>

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

>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@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:



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