From owner-freebsd-ports@FreeBSD.ORG Fri Aug 24 17:45:44 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE0116A418 for ; Fri, 24 Aug 2007 17:45:44 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id EE81713C442 for ; Fri, 24 Aug 2007 17:45:43 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so760332nfb for ; Fri, 24 Aug 2007 10:45:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=S2gIM6QuuPYeONIkK3gDrFZhSheP03FmlodaopgZILUi+59g6zMetJOK3jHbeK2bQFANm3E/zh9/xVs8ZEmNsAWT35Oj+x6oXYd6eGEloUpL/cgTJC4tLO8g74h1Va0zQWgc66YmwPm5s1yKKavJYAc7k9n+UnIVG/bc9JNv75Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=aTp+9fvCL9HlImYnqhwct3RkGUWz9dKBwCVZw/BzJN8iIyldc8Bt3t7XvqRLkR/xVwCvb3eL2Fu1nGPCjXXMuCTJoFeFFbJ0QnlRcZvir6lCb1U0x0825Qx2ziz+3+5xi83A8NWhmh/kd7q0C9X5WkeD03Lbq+j1lIkEAuq0aD0= Received: by 10.78.200.20 with SMTP id x20mr2126582huf.1187975928076; Fri, 24 Aug 2007 10:18:48 -0700 (PDT) Received: by 10.78.159.20 with HTTP; Fri, 24 Aug 2007 10:18:48 -0700 (PDT) Message-ID: <26ddd1750708241018u421c473ey9f668c3360b0f584@mail.gmail.com> Date: Fri, 24 Aug 2007 13:18:48 -0400 From: "Maxim Khitrov" To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Patch: lang/php5 (pdo_sqlite extension) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 17:45:44 -0000 Hello, I sent this patch to the maintainer of lang/php5 port, but did not receive a response. Was advised to send an e-mail to ports@ instead. This patch adds a knob to databases/php5-pdo_sqlite port called WITH_SQLITE_PORT. When set, instead of compiling the bundled version of sqlite library, pdo_sqlite extension will use the shared one from the databases/sqlite3. The port is usually more up to date, so this is convenient for people who need to do development and testing with newer sqlite versions. Thanks, Maxim Khitrov --- Makefile.ext.orig Thu Aug 16 08:56:41 2007 +++ Makefile.ext Thu Aug 16 09:00:20 2007 @@ -305,7 +305,12 @@ .endif .if ${PHP_MODNAME} == "pdo_sqlite" +. if defined(WITH_SQLITE_PORT) +USE_SQLITE= yes +CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} +. else CONFIGURE_ARGS+=--with-pdo-sqlite +. endif USE_PHP= pdo USE_PHP_BUILD= yes