Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Feb 2007 19:00:20 +0300 (MSK)
From:      Alexander Zhuravlev <zaa@zaa.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108981: [maintainer-update] added port knob that allows building of pdo sqlite extension against sqlite from ports
Message-ID:  <20070209160020.C34771B3C@orion.ulstu.ru>
Resent-Message-ID: <200702091620.l19GKHAD097705@freefall.freebsd.org>

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

>Number:         108981
>Category:       ports
>Synopsis:       [maintainer-update] added port knob that allows building of pdo sqlite extension against sqlite from ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 09 16:20:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD orion.ulstu.ru 4.11-STABLE FreeBSD 4.11-STABLE #30: Tue Dec 12 15:18:35 MSK 2006 root@orion.ulstu.ru:/usr/obj/usr/src/sys/ORION i386


	
>Description:

	Added WITH_SQLITE_PORT knob that allows building of pdo sqlite extension against sqlite from ports.

>How-To-Repeat:
	
>Fix:

	

--- pecl-PDO_SQLITE.patch begins here ---
diff -urb pecl-PDO_SQLITE.orig/Makefile pecl-PDO_SQLITE/Makefile
--- pecl-PDO_SQLITE.orig/Makefile	Sun Oct  8 04:01:05 2006
+++ pecl-PDO_SQLITE/Makefile	Fri Feb  9 18:41:42 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	PDO_SQLITE
 DISTVERSION=	1.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -25,6 +25,14 @@
 DEFAULT_PHP_VER=5
 PHP_MODNAME=	pdo_sqlite
 
+.if defined(WITH_SQLITE_PORT)
+# Define WITH_SQLITE_PORT knob if you would like to link pdo-sqlite against SQLite
+# from ports tree. Please note that in this case SQLite has to be compiled
+# _without_ threads support.
+USE_SQLITE=	YES
+CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE}
+.else
 CONFIGURE_ARGS+=--with-pdo-sqlite
+.endif
 
 .include <bsd.port.mk>
--- pecl-PDO_SQLITE.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?20070209160020.C34771B3C>