ports/108981: [maintainer-update] added port knob that allows building of pdo sqlite extension against sqlite from ports
Alexander Zhuravlev
zaa at zaa.pp.ru
Fri Feb 9 16:20:17 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list